VCS/git: Make blame go to current editor line

using queued slot/variant cookie magic in command
This commit is contained in:
Friedemann Kleint
2009-10-01 17:50:24 +02:00
parent 01877b2c86
commit 9d4aafebac
6 changed files with 44 additions and 9 deletions

View File

@@ -155,13 +155,15 @@ private:
GitCommand *createCommand(const QString &workingDirectory,
VCSBase::VCSBaseEditor* editor = 0,
bool outputToWindow = false);
bool outputToWindow = false,
int editorLineNumber = -1);
void executeGit(const QString &workingDirectory,
const QStringList &arguments,
VCSBase::VCSBaseEditor* editor = 0,
bool outputToWindow = false,
GitCommand::TerminationReportMode tm = GitCommand::NoReport);
GitCommand::TerminationReportMode tm = GitCommand::NoReport,
int editorLineNumber = -1);
bool synchronousGit(const QString &workingDirectory,
const QStringList &arguments,