Commit bf3c8601 authored by Petar Perisin's avatar Petar Perisin
Browse files

git - add files for commit that are inside untracked folders

However, files need to be part of the current project to be added to the

Task-number: QTCREATORBUG-9153
Change-Id: Ifb7a4684e85d0ccd688956eeff77b4cc7d807911
Reviewed-by: default avatarOrgad Shaneh <>
parent 164955a4
...@@ -2246,7 +2246,7 @@ GitClient::StatusResult GitClient::gitStatus(const QString &workingDirectory, St ...@@ -2246,7 +2246,7 @@ GitClient::StatusResult GitClient::gitStatus(const QString &workingDirectory, St
if (mode & NoUntracked) if (mode & NoUntracked)
statusArgs << QLatin1String("--untracked-files=no"); statusArgs << QLatin1String("--untracked-files=no");
else else
statusArgs << QLatin1String("--untracked-files=normal"); statusArgs << QLatin1String("--untracked-files=all");
if (mode & NoSubmodules) if (mode & NoSubmodules)
statusArgs << QLatin1String("--ignore-submodules=all"); statusArgs << QLatin1String("--ignore-submodules=all");
statusArgs << QLatin1String("-s") << QLatin1String("-b"); statusArgs << QLatin1String("-s") << QLatin1String("-b");
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment