Git: Fully set up VcsCommand before executing it

Change-Id: Ia3ccc95a70b831ae999e3176f661d12712958bfc
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
This commit is contained in:
Tobias Hunger
2015-01-19 12:34:02 +01:00
parent 93732f23cd
commit 2b5f100769

View File

@@ -1722,8 +1722,8 @@ void GitClient::branchesForCommit(const QString &revision)
SLOT(branchesForCommitReceived(QString))); SLOT(branchesForCommitReceived(QString)));
command->addJob(arguments, -1); command->addJob(arguments, -1);
command->execute();
command->setCookie(workingDirectory); command->setCookie(workingDirectory);
command->execute();
} }
bool GitClient::isRemoteCommit(const QString &workingDirectory, const QString &commit) bool GitClient::isRemoteCommit(const QString &workingDirectory, const QString &commit)