Skip to content

Commit a31c00b

Browse files
sbeyergitster
authored andcommitted
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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent a4661b0 commit a31c00b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Documentation/git-rerere.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ its working state.
3737
'clear'::
3838

3939
This resets the metadata used by rerere if a merge resolution is to be
40-
is aborted. Calling 'git-am --skip' or 'git-rebase [--skip|--abort]'
40+
aborted. Calling 'git-am [--skip|--abort]' or 'git-rebase [--skip|--abort]'
4141
will automatically invoke this command.
4242

4343
'diff'::

contrib/completion/git-completion.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,7 @@ _git_am ()
489489
{
490490
local cur="${COMP_WORDS[COMP_CWORD]}" dir="$(__gitdir)"
491491
if [ -d "$dir"/rebase-apply ]; then
492-
__gitcomp "--skip --resolved"
492+
__gitcomp "--skip --resolved --abort"
493493
return
494494
fi
495495
case "$cur" in

0 commit comments

Comments
 (0)