Vcs: Move annotate and annotateRevisionRequested into VcsBaseClientImpl

... and use that in the Git client.

Change-Id: Ie70ec0d5908776d11eb69613d45f565d4f0ce32b
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
Reviewed-by: Tobias Hunger <tobias.hunger@theqtcompany.com>
This commit is contained in:
Tobias Hunger
2015-04-13 11:38:44 +02:00
parent ed51368979
commit a55fb4a378
6 changed files with 34 additions and 48 deletions

View File

@@ -164,7 +164,7 @@ bool GitVersionControl::managesFile(const QString &workingDirectory, const QStri
bool GitVersionControl::vcsAnnotate(const QString &file, int line)
{
const QFileInfo fi(file);
m_client->blame(fi.absolutePath(), QStringList(), fi.fileName(), QString(), line);
m_client->annotate(fi.absolutePath(), fi.fileName(), QString(), line);
return true;
}