summaryrefslogtreecommitdiff
path: root/src/plugins/git/gitclient.h
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@nokia.com>2011-12-07 14:02:36 +0100
committerHugues Delorme <delorme.hugues@fougsys.fr>2011-12-08 11:18:10 +0100
commit02d74bd3e7b8be6500c0d08b782c79f451a887bb (patch)
treeceaa9084e308f5e00cdc9a95f76b47b40394b5ee /src/plugins/git/gitclient.h
parentf517215a3d85f82485a6a92ee674eb860a8b76b8 (diff)
downloadqt-creator-02d74bd3e7b8be6500c0d08b782c79f451a887bb.tar.gz
Git: Push to non-default remotes
Allow pushing into any of the defined remotes via Tools->Git->Remotes... Task-number: QTCREATORBUG-6382 Change-Id: I0bab34da4ec27c377993782b905b1d6c4f5a14b9 Reviewed-by: Hugues Delorme <delorme.hugues@fougsys.fr>
Diffstat (limited to 'src/plugins/git/gitclient.h')
-rw-r--r--src/plugins/git/gitclient.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/git/gitclient.h b/src/plugins/git/gitclient.h
index b97ffe75a9..6af47a72fc 100644
--- a/src/plugins/git/gitclient.h
+++ b/src/plugins/git/gitclient.h
@@ -170,7 +170,7 @@ public:
QString vcsGetRepositoryURL(const QString &directory);
bool synchronousFetch(const QString &workingDirectory, const QString &remote);
bool synchronousPull(const QString &workingDirectory);
- bool synchronousPush(const QString &workingDirectory);
+ bool synchronousPush(const QString &workingDirectory, const QString &remote = QString());
// git svn support (asynchronous).
void synchronousSubversionFetch(const QString &workingDirectory);