Git: Do not display invalid commit as blame candidate

Change-Id: Ia08775b2e4364f405d223a9b49971ae70c04965a
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
This commit is contained in:
Orgad Shaneh
2012-07-19 23:02:37 +03:00
committed by Tobias Hunger
parent 16a813694f
commit 12a99d476c
6 changed files with 30 additions and 4 deletions

View File

@@ -252,6 +252,8 @@ private:
// Implement to return the previous version[s] of an annotation change
// for "Annotate previous version"
virtual QStringList annotationPreviousVersions(const QString &revision) const;
// Implement to validate revisions
virtual bool isValidRevision(const QString &revision) const;
// cut out chunk and determine file name.
DiffChunk diffChunk(QTextCursor cursor) const;