Fixed parsing of git status so that one can check out a branch when not on a branch before.

This commit is contained in:
Robert Loehning
2010-03-15 20:50:13 +01:00
parent c9e50605dd
commit 20ee66f86a
2 changed files with 14 additions and 4 deletions

View File

@@ -191,7 +191,8 @@ public:
StatusResult gitStatus(const QString &workingDirectory,
bool untracked = false,
QString *output = 0,
QString *errorMessage = 0);
QString *errorMessage = 0,
bool *onBranch = 0);
GitSettings settings() const;
void setSettings(const GitSettings &s);