summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Matthieu Moy <Matthieu.Moy@imag.fr>2015-01-07 13:40:31 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2015-01-07 10:42:53 -0800
commitd89ad9c1b8878c54dd46725bd3c01e53b46f748a (patch)
treea7c422df2faacc39613b747d760b8a3439898ebb
parentGit 2.0.5 (diff)
downloadtgif-d89ad9c1b8878c54dd46725bd3c01e53b46f748a.tar.xz
git-completion: add --autostash for 'git rebase'
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>
-rw-r--r--contrib/completion/git-completion.bash1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
index 019026efcb..93bfab696d 100644
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -1659,6 +1659,7 @@ _git_rebase ()
--committer-date-is-author-date --ignore-date
--ignore-whitespace --whitespace=
--autosquash --fork-point --no-fork-point
+ --autostash
"
return