forked from qt-creator/qt-creator
Git: Pass only files after -- on Blame
It works, but is likely to break at some point. Change-Id: I97952a7cb6cd3569adc694db7537fab807bda0ea Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
This commit is contained in:
committed by
Orgad Shaneh
parent
8db0d3b0ff
commit
7c25d1a895
@@ -1354,9 +1354,10 @@ VcsBaseEditorWidget *GitClient::annotate(
|
||||
|
||||
editor->setWorkingDirectory(workingDir);
|
||||
QStringList arguments = {"blame", "--root"};
|
||||
arguments << argWidget->arguments() << "--" << file;
|
||||
arguments << argWidget->arguments();
|
||||
if (!revision.isEmpty())
|
||||
arguments << revision;
|
||||
arguments << "--" << file;
|
||||
editor->setDefaultLineNumber(lineNumber);
|
||||
vcsExec(workingDir, arguments, editor);
|
||||
return editor;
|
||||
|
||||
Reference in New Issue
Block a user