зеркало из https://github.com/microsoft/git.git
am --abort: Add to bash-completion and mention in git-rerere documentation
The git-rerere documentation talks about commands that invoke "git rerere clear" automatically. git am --abort is added and a typo is fixed additionally. Signed-off-by: Stephan Beyer <s-beyer@gmx.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Родитель
a4661b018d
Коммит
a31c00b00e
|
@ -37,7 +37,7 @@ its working state.
|
||||||
'clear'::
|
'clear'::
|
||||||
|
|
||||||
This resets the metadata used by rerere if a merge resolution is to be
|
This resets the metadata used by rerere if a merge resolution is to be
|
||||||
is aborted. Calling 'git-am --skip' or 'git-rebase [--skip|--abort]'
|
aborted. Calling 'git-am [--skip|--abort]' or 'git-rebase [--skip|--abort]'
|
||||||
will automatically invoke this command.
|
will automatically invoke this command.
|
||||||
|
|
||||||
'diff'::
|
'diff'::
|
||||||
|
|
|
@ -489,7 +489,7 @@ _git_am ()
|
||||||
{
|
{
|
||||||
local cur="${COMP_WORDS[COMP_CWORD]}" dir="$(__gitdir)"
|
local cur="${COMP_WORDS[COMP_CWORD]}" dir="$(__gitdir)"
|
||||||
if [ -d "$dir"/rebase-apply ]; then
|
if [ -d "$dir"/rebase-apply ]; then
|
||||||
__gitcomp "--skip --resolved"
|
__gitcomp "--skip --resolved --abort"
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
case "$cur" in
|
case "$cur" in
|
||||||
|
|
Загрузка…
Ссылка в новой задаче