diff options
author | Orgad Shaneh <[email protected]> | 2012-07-01 13:58:39 +0300 |
---|---|---|
committer | Tobias Hunger <[email protected]> | 2012-07-02 11:10:34 +0200 |
commit | 3b5c40ba4738a9f2997a7f4bd75d38070147335e (patch) | |
tree | f1aacf2f80b0dd8550cd4d90eeae01e5552820fc /src/plugins/git/gitclient.h | |
parent | f9b8ae6a33c2341c52f92c94d575a35a655aca91 (diff) |
Git: Cleanup
* Remove unused 'silent' argument
* Do not output 'git --version' command
Change-Id: Ia940efd5ae7e9f262552841c11d20c3d6df559a3
Reviewed-by: Tobias Hunger <[email protected]>
Diffstat (limited to 'src/plugins/git/gitclient.h')
-rw-r--r-- | src/plugins/git/gitclient.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/plugins/git/gitclient.h b/src/plugins/git/gitclient.h index 48986ec7613..39136116ae1 100644 --- a/src/plugins/git/gitclient.h +++ b/src/plugins/git/gitclient.h @@ -84,8 +84,7 @@ public: ~GitClient(); QString gitBinaryPath(bool *ok = 0, QString *errorMessage = 0) const; - unsigned gitVersion(bool silent, QString *errorMessage = 0) const; - QString gitVersionString(bool silent, QString *errorMessage = 0) const; + unsigned gitVersion(QString *errorMessage = 0) const; QString findRepositoryForDirectory(const QString &dir); @@ -277,7 +276,7 @@ private: unsigned flags = 0, QTextCodec *outputCodec = 0); // determine version as '(major << 16) + (minor << 8) + patch' or 0. - unsigned synchronousGitVersion(bool silent, QString *errorMessage = 0) const; + unsigned synchronousGitVersion(QString *errorMessage = 0) const; enum RevertResult { RevertOk, RevertUnchanged, RevertCanceled, RevertFailed }; RevertResult revertI(QStringList files, |