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 <albert.astals.cid@kdab.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Albert Astals Cid committed Nov 21, 2017 at 15:39 UTC 541c2a3a3db92a4348f3d9c6b234cedef2853c0b
1 file changed +1
contrib/completion/git-completion.bash
+1
@@ -1922,6 +1922,7 @@ _git_pull ()
1922 --*)
1923 __gitcomp "
1924 --rebase --no-rebase
1925 + --autostash --no-autostash
1926 $__git_merge_options
1927 $__git_fetch_options
1928 "