]> git.ipfire.org Git - thirdparty/git.git/commitdiff
am --abort: Add to bash-completion and mention in git-rerere documentation
authorStephan Beyer <s-beyer@gmx.net>
Wed, 23 Jul 2008 00:10:25 +0000 (02:10 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 23 Jul 2008 23:57:09 +0000 (16:57 -0700)
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>
Documentation/git-rerere.txt
contrib/completion/git-completion.bash

index beebd5301fc14c196722199f3b952980974f53d7..89f321b414212a555f1e0fb0ff0ce6f4c180fd06 100644 (file)
@@ -37,7 +37,7 @@ its working state.
 'clear'::
 
 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.
 
 'diff'::
index 2edb341b570315b6ac1500775e03897a24afb23e..8fc9145282ccc0ff74140a5d50c91875a43948c4 100755 (executable)
@@ -489,7 +489,7 @@ _git_am ()
 {
        local cur="${COMP_WORDS[COMP_CWORD]}" dir="$(__gitdir)"
        if [ -d "$dir"/rebase-apply ]; then
-               __gitcomp "--skip --resolved"
+               __gitcomp "--skip --resolved --abort"
                return
        fi
        case "$cur" in