aboutsummaryrefslogtreecommitdiff
path: root/contrib/completion/git-completion.bash
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/git-completion.bash
parent9a8c2b67cd5a51666f2c0ce3fbbdb08b97b79b3d (diff)
downloadgit-d89ad9c1b8878c54dd46725bd3c01e53b46f748a.tar.gz
git-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>
Diffstat (limited to 'contrib/completion/git-completion.bash')
-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 019026efc..93bfab696 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