]> granicus.if.org Git - git/commitdiff
git-completion: add --autostash for 'git rebase'
authorMatthieu Moy <Matthieu.Moy@imag.fr>
Wed, 7 Jan 2015 12:40:31 +0000 (13:40 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 7 Jan 2015 18:42:53 +0000 (10:42 -0800)
This option was added in 58794775 (rebase: implement
--[no-]autostash and rebase.autostash, 2013-05-12).

Completion of "--autosquash" has been there, but this was not;
addition of this would require people completing "--autosquash" to
type a bit more than before.

Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/completion/git-completion.bash

index 019026efcbc5876d7aa3890eab5078a8bfbe2f7c..93bfab696d521dd2588cdaf651fd760e4c8edafd 100644 (file)
@@ -1659,6 +1659,7 @@ _git_rebase ()
                        --committer-date-is-author-date --ignore-date
                        --ignore-whitespace --whitespace=
                        --autosquash --fork-point --no-fork-point
+                       --autostash
                        "
 
                return