diff options
author | Orgad Shaneh <[email protected]> | 2015-11-11 12:36:12 +0200 |
---|---|---|
committer | Orgad Shaneh <[email protected]> | 2015-11-11 13:24:06 +0000 |
commit | 1fd87607898079366084b64e9132c9ee07e63cb6 (patch) | |
tree | 4cb3f978be86d9972654a2625bcb31080999d1ba /src/plugins/git/gitclient.h | |
parent | bd858d9753f8e736770e9cde48dd819525ab81af (diff) |
Git: Do not use file name when retrieving parent commit
Right-clicking a commit on blame shows the parent commit relevant for this file.
In case the file was renamed, fetching the parent can fail (since the file with
this name did not exist before the requested commit).
Using the direct parent is good enough, and should work for all cases.
What the user is really interested in is "how did the file look before this
commit", and the exact "previous" commit is not really interesting.
Change-Id: I7d74efce5f2b065f62e978ba5f14d3010a5f2c7f
Reviewed-by: Tobias Hunger <[email protected]>
Diffstat (limited to 'src/plugins/git/gitclient.h')
-rw-r--r-- | src/plugins/git/gitclient.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/plugins/git/gitclient.h b/src/plugins/git/gitclient.h index d226c686d54..51825a768f0 100644 --- a/src/plugins/git/gitclient.h +++ b/src/plugins/git/gitclient.h @@ -237,7 +237,6 @@ public: QString *output, QString *errorMessage = 0) const; bool synchronousParentRevisions(const QString &workingDirectory, - const QStringList &files /* = QStringList() */, const QString &revision, QStringList *parents, QString *errorMessage) const; |