File tree Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Expand file tree Collapse file tree 3 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -510,7 +510,9 @@ do_next () {
510
510
refs/* )
511
511
message=" $GIT_REFLOG_ACTION : $head_name onto $shortonto " &&
512
512
git update-ref -m " $message " $head_name $newhead $orig_head &&
513
- git symbolic-ref HEAD $head_name
513
+ git symbolic-ref \
514
+ -m " $GIT_REFLOG_ACTION : returning to $head_name " \
515
+ HEAD $head_name
514
516
;;
515
517
esac && {
516
518
test ! -f " $state_dir " /verbose ||
Original file line number Diff line number Diff line change @@ -153,7 +153,9 @@ move_to_original_branch () {
153
153
message=" rebase finished: $head_name onto $onto "
154
154
git update-ref -m " $message " \
155
155
$head_name $( git rev-parse HEAD) $orig_head &&
156
- git symbolic-ref HEAD $head_name ||
156
+ git symbolic-ref \
157
+ -m " rebase finished: returning to $head_name " \
158
+ HEAD $head_name ||
157
159
die " Could not move back to $head_name "
158
160
;;
159
161
esac
@@ -332,7 +334,7 @@ abort)
332
334
read_basic_state
333
335
case " $head_name " in
334
336
refs/* )
335
- git symbolic-ref HEAD $head_name ||
337
+ git symbolic-ref -m " rebase: aborting " HEAD $head_name ||
336
338
die " Could not move back to $head_name "
337
339
;;
338
340
esac
Original file line number Diff line number Diff line change @@ -317,7 +317,7 @@ test_expect_success '--continue tries to commit' '
317
317
'
318
318
319
319
test_expect_success ' verbose flag is heeded, even after --continue' '
320
- git reset --hard HEAD @{1} &&
320
+ git reset --hard master @{1} &&
321
321
test_tick &&
322
322
test_must_fail git rebase -v -i --onto new-branch1 HEAD^ &&
323
323
echo resolved > file1 &&
You can’t perform that action at this time.
0 commit comments