From 2b459944a276a58fa1355672aa0a8d84780c272e Mon Sep 17 00:00:00 2001 From: brotherbard Date: Sat, 7 Nov 2009 22:29:40 -0700 Subject: [PATCH] Update the current branch when changes are made (like checking out a branch). --- PBGitRepository.m | 1 + 1 file changed, 1 insertion(+) diff --git a/PBGitRepository.m b/PBGitRepository.m index 217a938..c65b48a 100644 --- a/PBGitRepository.m +++ b/PBGitRepository.m @@ -269,6 +269,7 @@ 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]];