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 <tobias.hunger@nokia.com>
This commit is contained in:
Orgad Shaneh
2012-03-13 22:34:54 +02:00
committed by Tobias Hunger
parent 6a3f9460d7
commit d207165f6a
2 changed files with 3 additions and 10 deletions

View File

@@ -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);