forked from qt-creator/qt-creator
Git: Follow renames on log
Change-Id: Ic2666e62f5226780f68da0cdda0229b343d38116 Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
a05ea71133
commit
a53cc559be
@@ -1145,7 +1145,7 @@ void GitClient::log(const QString &workingDirectory, const QString &fileName,
|
|||||||
arguments.append(userArgs);
|
arguments.append(userArgs);
|
||||||
|
|
||||||
if (!fileName.isEmpty())
|
if (!fileName.isEmpty())
|
||||||
arguments << QLatin1String("--") << fileName;
|
arguments << QLatin1String("--follow") << QLatin1String("--") << fileName;
|
||||||
|
|
||||||
executeGit(workingDirectory, arguments, editor);
|
executeGit(workingDirectory, arguments, editor);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user