summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorMatthieu Moy <Matthieu.Moy@imag.fr>2015-01-07 12:40:31 (GMT)
committerJunio C Hamano <gitster@pobox.com>2015-01-07 18:42:53 (GMT)
commitd89ad9c1b8878c54dd46725bd3c01e53b46f748a (patch)
treea7c422df2faacc39613b747d760b8a3439898ebb /contrib
parent9a8c2b67cd5a51666f2c0ce3fbbdb08b97b79b3d (diff)
downloadgit-d89ad9c1b8878c54dd46725bd3c01e53b46f748a.zip
git-d89ad9c1b8878c54dd46725bd3c01e53b46f748a.tar.gz
git-d89ad9c1b8878c54dd46725bd3c01e53b46f748a.tar.bz2
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')
-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 019026e..93bfab6 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