diff options
author | brian m. carlson <sandals@crustytoothpaste.net> | 2014-06-16 00:01:25 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-06-16 13:29:16 -0700 |
commit | 95104c7e257652b82aed089494def344e3938928 (patch) | |
tree | ee8b3a07a8fe7a334a146110fe69ee2328558ce4 /contrib/examples/git-notes.sh | |
parent | Git 1.9.4 (diff) | |
download | tgif-95104c7e257652b82aed089494def344e3938928.tar.xz |
rebase--merge: fix --skip with two conflicts in a row
If git rebase --merge encountered a conflict, --skip would not work if the
next commit also conflicted. The msgnum file would never be updated with
the new patch number, so no patch would actually be skipped, resulting in an
inescapable loop.
Update the msgnum file's value as the first thing in call_merge. This also
avoids an "Already applied" message when skipping a commit. There is no
visible change for the other contexts in which call_merge is invoked, as the
msgnum file's value remains unchanged in those situations.
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/examples/git-notes.sh')
0 files changed, 0 insertions, 0 deletions