diff --git a/src/plugins/git/gitclient.cpp b/src/plugins/git/gitclient.cpp index 8b89f7f7be71b801788929a78f09ef648856d7dc..aa4bd0fee43921a0e4adea7470579b6c4b684a58 100644 --- a/src/plugins/git/gitclient.cpp +++ b/src/plugins/git/gitclient.cpp @@ -1145,7 +1145,7 @@ void GitClient::log(const QString &workingDirectory, const QString &fileName, arguments.append(userArgs); if (!fileName.isEmpty()) - arguments << QLatin1String("--") << fileName; + arguments << QLatin1String("--follow") << QLatin1String("--") << fileName; executeGit(workingDirectory, arguments, editor); }