aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/git/gitclient.h
diff options
context:
space:
mode:
authorOrgad Shaneh <[email protected]>2012-03-13 22:34:54 +0200
committerTobias Hunger <[email protected]>2012-03-14 11:18:41 +0100
commitd207165f6aa89ee95bd41c41a49d68cfa0b46444 (patch)
tree85435bb764a9d66d20c7e705304ceafe0389fdcb /src/plugins/git/gitclient.h
parent6a3f9460d71376236c5d00dfce0d568ad92b83c7 (diff)
Git: Allow commit (or amend) when not on a branch
Git allows that so why can't we? Useful when in the middle of merge/rebase. Change-Id: Id09da3417904ff29e6dd1b4ef383157e9c4920d3 Reviewed-by: Tobias Hunger <[email protected]>
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 434a860e091..01108522380 100644
--- a/src/plugins/git/gitclient.h
+++ b/src/plugins/git/gitclient.h
@@ -212,7 +212,7 @@ public:
StatusResult gitStatus(const QString &workingDirectory,
bool untracked = false,
QString *output = 0,
- QString *errorMessage = 0, bool *onBranch = 0);
+ QString *errorMessage = 0);
void launchGitK(const QString &workingDirectory);
void launchRepositoryBrowser(const QString &workingDirectory);