summaryrefslogtreecommitdiff
path: root/src/plugins/git
diff options
context:
space:
mode:
authorOrgad Shaneh <orgad.shaneh@audiocodes.com>2013-08-06 15:15:04 +0300
committerOrgad Shaneh <orgads@gmail.com>2013-08-08 11:14:42 +0200
commit5da86a07578fb62a1161eeacf6a95bb5cdea9e5c (patch)
treed9900d1f5c376e9f785817325b598dd1d56a019f /src/plugins/git
parenteddf5916b704a79870235f6b0cb8831d6f96b439 (diff)
downloadqt-creator-5da86a07578fb62a1161eeacf6a95bb5cdea9e5c.tar.gz
Git: Follow renames on log
Reverted because a dependent commit broke compilation Reviewed-by: Tobias Hunger <tobias.hunger@digia.com> (cherry picked from commit a53cc559be610b8ceff7dd9670c3b7fc04bfad9f) Change-Id: I8de3dbeca7eed3815eb5f0843eba6a86d371675e Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Diffstat (limited to 'src/plugins/git')
-rw-r--r--src/plugins/git/gitclient.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/git/gitclient.cpp b/src/plugins/git/gitclient.cpp
index 8b89f7f7be..aa4bd0fee4 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);
}