Git: Display tracking branch for newly created branches

+ Get rid of a workaround done for retrieving sha

Change-Id: I4b7a6c6d9e9be5766f4fc540dc8b15037eb7948c
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
Orgad Shaneh
2013-06-17 14:44:03 +03:00
committed by Orgad Shaneh
parent 40f3efbc21
commit 744d5d51ab
3 changed files with 14 additions and 23 deletions

View File

@@ -78,7 +78,7 @@ public:
void removeBranch(const QModelIndex &idx);
void checkoutBranch(const QModelIndex &idx);
bool branchIsMerged(const QModelIndex &idx);
QModelIndex addBranch(const QString &branchName, bool track, const QString &trackedBranch);
QModelIndex addBranch(const QString &name, bool track, const QModelIndex &trackedBranch);
private:
void parseOutputLine(const QString &line);