Merge branch 'js/rebase-i-clean-up-upon-continue-to-skip'
Abandoning an already applied change in "git rebase -i" with "--continue" left CHERRY_PICK_HEAD and confused later steps. * js/rebase-i-clean-up-upon-continue-to-skip: rebase -i: do not leave a CHERRY_PICK_HEAD file behind t3404: demonstrate CHERRY_PICK_HEAD bug
This commit is contained in:
@ -849,7 +849,11 @@ continue)
|
||||
# do we have anything to commit?
|
||||
if git diff-index --cached --quiet HEAD --
|
||||
then
|
||||
: Nothing to commit -- skip this
|
||||
# Nothing to commit -- skip this commit
|
||||
|
||||
test ! -f "$GIT_DIR"/CHERRY_PICK_HEAD ||
|
||||
rm "$GIT_DIR"/CHERRY_PICK_HEAD ||
|
||||
die "Could not remove CHERRY_PICK_HEAD"
|
||||
else
|
||||
if ! test -f "$author_script"
|
||||
then
|
||||
|
Reference in New Issue
Block a user