mirror of
https://github.com/kennethreitz-archive/gitx.git
synced 2026-06-05 23:40:18 +00:00
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:
@@ -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]];
|
||||
|
||||
|
||||
@@ -67,6 +67,7 @@
|
||||
return;
|
||||
}
|
||||
[historyController.repository reloadRefs];
|
||||
[historyController.repository readCurrentBranch];
|
||||
[commitController rearrangeObjects];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user