forked from qt-creator/qt-creator
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 list. Task-number: QTCREATORBUG-9153 Change-Id: Ifb7a4684e85d0ccd688956eeff77b4cc7d807911 Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
@@ -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");
|
||||||
|
|||||||
Reference in New Issue
Block a user