mirror of
https://github.com/kennethreitz-archive/gitx.git
synced 2026-06-05 23:40:18 +00:00
Bugfix: Rebasing the head ref
Only use the ref being rebased onto otherwise git will create a detached HEAD.
This commit is contained in:
+1
-2
@@ -147,9 +147,8 @@
|
||||
- (void) rebaseHeadBranch:(PBRefMenuItem *)sender
|
||||
{
|
||||
id <PBGitRefish> refish = [sender refish];
|
||||
PBGitRef *headRef = [[historyController.repository headRef] ref];
|
||||
|
||||
[historyController.repository rebaseBranch:headRef onRefish:refish];
|
||||
[historyController.repository rebaseBranch:nil onRefish:refish];
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user