File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -671,10 +671,8 @@ - (IBAction) cherryPick:(id)sender
671
671
672
672
- (IBAction ) rebase : (id )sender
673
673
{
674
- if (selectedCommit) {
675
- PBGitRef *headRef = [[repository headRef ] ref ];
676
- [repository rebaseBranch: headRef onRefish: selectedCommit];
677
- }
674
+ if (selectedCommit)
675
+ [repository rebaseBranch: nil onRefish: selectedCommit];
678
676
}
679
677
680
678
#pragma mark -
Original file line number Diff line number Diff line change @@ -147,9 +147,8 @@ - (void) cherryPick:(PBRefMenuItem *)sender
147
147
- (void ) rebaseHeadBranch : (PBRefMenuItem *)sender
148
148
{
149
149
id <PBGitRefish> refish = [sender refish ];
150
- PBGitRef *headRef = [[historyController.repository headRef ] ref ];
151
150
152
- [historyController.repository rebaseBranch: headRef onRefish: refish];
151
+ [historyController.repository rebaseBranch: nil onRefish: refish];
153
152
}
154
153
155
154
You can’t perform that action at this time.
0 commit comments