forked from qt-creator/qt-creator
Git: Disambiguate revision from path on log
If you have a file with the same name as the current branch (in the repo's root), Push to Gerrit opens with an empty list. Change-Id: I607c67b1d00da83d4551d3f3f75e5a91478294d5 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
committed by
Orgad Shaneh
parent
10954e07a5
commit
3eaddacf74
@@ -157,6 +157,7 @@ bool LogChangeWidget::populateLog(const QString &repository, const QString &comm
|
||||
arguments << (commit.isEmpty() ? "HEAD" : commit);
|
||||
if (!(flags & IncludeRemotes))
|
||||
arguments << "--not" << "--remotes";
|
||||
arguments << "--";
|
||||
QString output;
|
||||
if (!GitPlugin::client()->synchronousLog(repository, arguments, &output, 0, VcsCommand::NoOutput))
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user