]> git.ipfire.org Git - thirdparty/git.git/commit - git-rebase--am.sh
rebase: add --show-current-patch
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>
Sun, 11 Feb 2018 09:43:27 +0000 (16:43 +0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 12 Feb 2018 22:07:59 +0000 (14:07 -0800)
commit66335298a47032267edd6d6e7a71cc337e46e995
tree547baec4b4e0f79368fac37c21ed84e0effef503
parent984913a210bb6d17fb3dd515975930661a00c3b5
rebase: add --show-current-patch

It is useful to see the full patch while resolving conflicts in a
rebase. The only way to do it now is

    less .git/rebase-*/patch

which could turn out to be a lot longer to type if you are in a
linked worktree, or not at top-dir. On top of that, an ordinary user
should not need to peek into .git directory. The new option is
provided to examine the patch.

Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-rebase.txt
builtin/am.c
contrib/completion/git-completion.bash
git-rebase--am.sh
git-rebase--interactive.sh
git-rebase--merge.sh
git-rebase.sh
t/t3400-rebase.sh
t/t3404-rebase-interactive.sh