• B
    rebase--merge: fix --skip with two conflicts in a row · 95104c7e
    brian m. carlson 提交于
    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: Nbrian m. carlson <sandals@crustytoothpaste.net>
    Signed-off-by: NJunio C Hamano <gitster@pobox.com>
    95104c7e
t3402-rebase-merge.sh 3.4 KB