From: Albert Astals Cid Date: Tue, 21 Nov 2017 14:39:28 +0000 (+0100) Subject: completion: add --autostash and --no-autostash to pull X-Git-Tag: v2.16.0-rc0~80^2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/541c2a3a3db92a4348f3d9c6b234cedef2853c0b?ds=inline;hp=--cc completion: add --autostash and --no-autostash to pull Ideally we should only autocomplete if pull has --rebase since they only work with it but could not figure out how to do that and the error message of doing git pull --autostash points out that you need --rebase so i guess it's good enough Signed-off-by: Albert Astals Cid Signed-off-by: Junio C Hamano --- 541c2a3a3db92a4348f3d9c6b234cedef2853c0b diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash index f07f16b28f..be9cf0acc0 100644 --- a/contrib/completion/git-completion.bash +++ b/contrib/completion/git-completion.bash @@ -1922,6 +1922,7 @@ _git_pull () --*) __gitcomp " --rebase --no-rebase + --autostash --no-autostash $__git_merge_options $__git_fetch_options "