Bug fix: Move updating the current branch to the checkoutRef method.

Stops the branch from being updated back to the current branch when the Refresh Automatically preference is on.
This commit is contained in:
brotherbard
2009-11-07 23:22:20 -07:00
parent 0377181bbf
commit 5e126433f6
2 changed files with 1 additions and 1 deletions
-1
View File
@@ -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]];
+1
View File
@@ -67,6 +67,7 @@
return;
}
[historyController.repository reloadRefs];
[historyController.repository readCurrentBranch];
[commitController rearrangeObjects];
}