diff --git a/PBGitRepository.m b/PBGitRepository.m index c65b48a..217a938 100644 --- a/PBGitRepository.m +++ b/PBGitRepository.m @@ -269,7 +269,6 @@ static NSString * repositoryBasePath = nil; // Add an "All branches" option in the branches list [self addBranch:[PBGitRevSpecifier allBranchesRevSpec]]; [self addBranch:[PBGitRevSpecifier localBranchesRevSpec]]; - [self readCurrentBranch]; [[[self windowController] window] setTitle:[self displayName]]; diff --git a/PBRefController.m b/PBRefController.m index 8f49a5e..5010079 100644 --- a/PBRefController.m +++ b/PBRefController.m @@ -67,6 +67,7 @@ return; } [historyController.repository reloadRefs]; + [historyController.repository readCurrentBranch]; [commitController rearrangeObjects]; }