summaryrefslogtreecommitdiff
path: root/contrib/completion
diff options
context:
space:
mode:
authorMatthieu Moy <Matthieu.Moy@imag.fr>2015-01-07 13:40:31 +0100
committerJunio C Hamano <gitster@pobox.com>2015-01-07 10:42:53 -0800
commitd89ad9c1b8878c54dd46725bd3c01e53b46f748a (patch)
treea7c422df2faacc39613b747d760b8a3439898ebb /contrib/completion
parent9a8c2b67cd5a51666f2c0ce3fbbdb08b97b79b3d (diff)
downloadgit-d89ad9c1b8878c54dd46725bd3c01e53b46f748a.tar.gz
git-completion: add --autostash for 'git rebase'mm/complete-rebase-autostash
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>
Diffstat (limited to 'contrib/completion')
-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