forked from qt-creator/qt-creator
Git: Detect rebase even if rebase-apply does not contain "rebasing"
It might contains only autostash. Change-Id: Ie95c63bde2314aac1b6d37f01301822e41df177c Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
committed by
Orgad Shaneh
parent
c412e0bb2a
commit
5fcfe97e23
@@ -1966,7 +1966,7 @@ GitClient::CommandInProgress GitClient::checkCommandInProgress(const QString &wo
|
||||
const QString gitDir = findGitDirForRepository(workingDirectory);
|
||||
if (QFile::exists(gitDir + "/MERGE_HEAD"))
|
||||
return Merge;
|
||||
else if (QFile::exists(gitDir + "/rebase-apply/rebasing"))
|
||||
else if (QFile::exists(gitDir + "/rebase-apply"))
|
||||
return Rebase;
|
||||
else if (QFile::exists(gitDir + "/rebase-merge"))
|
||||
return RebaseMerge;
|
||||
|
||||
Reference in New Issue
Block a user