Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PBRefController: Only set title if we have a rev
We used to unconditionally set the title of the branch to the current branch. This worked fine in most cases where the current branch was already known, but failed when you use 'gitx -c' and then switch to the HistoryView, because then the currentBranch isn't known yet. The simple fix is to check if we know it. If we don't, it'll be set later on.
- Loading branch information