am: add --show-current-patch
Pointing the user to $GIT_DIR/rebase-apply may encourage them to mess around in there, which is not a good thing. With this, the user does not have to keep the path around somewhere (because after a couple of commands, the path may be out of scrollback buffer) when they need to look at the patch. Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
5be1f00a9a
commit
984913a210
@ -1077,7 +1077,7 @@ _git_am ()
|
||||
{
|
||||
__git_find_repo_path
|
||||
if [ -d "$__git_repo_path"/rebase-apply ]; then
|
||||
__gitcomp "--skip --continue --resolved --abort"
|
||||
__gitcomp "--skip --continue --resolved --abort --show-current-patch"
|
||||
return
|
||||
fi
|
||||
case "$cur" in
|
||||
|
Reference in New Issue
Block a user