summaryrefslogtreecommitdiff
path: root/contrib/completion
diff options
context:
space:
mode:
authorLibravatar Nguyễn Thái Ngọc Duy <pclouds@gmail.com>2018-02-09 18:01:56 +0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-02-09 10:24:51 -0800
commit554a1df49a743fe1a2e35fac53d602c055bc7941 (patch)
tree170d74b9c56f7213040f335dbcd3452182df2e14 /contrib/completion
parentcompletion: use __gitcomp_builtin in _git_difftool (diff)
downloadtgif-554a1df49a743fe1a2e35fac53d602c055bc7941.tar.xz
completion: use __gitcomp_builtin in _git_fetch
New completable options: --deepen= --ipv4 --ipv6 --jobs= --multiple --progress --refmap= --shallow-exclude= --shallow-since= --update-head-ok Since _git_pull() needs fetch options too, $__git_fetch_options remains. This variable will soon be gone after _git_pull() is updated. Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/completion')
-rw-r--r--contrib/completion/git-completion.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/completion/git-completion.bash b/contrib/completion/git-completion.bash
index 7763f88347..4275307c3d 100644
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -1462,7 +1462,7 @@ _git_fetch ()
return
;;
--*)
- __gitcomp "$__git_fetch_options"
+ __gitcomp_builtin fetch "--no-tags"
return
;;
esac