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:02:01 +0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2018-02-09 10:24:51 -0800
commitb00116b791bfa7dab6805fecb9269ed59bf022d4 (patch)
treec687309c6640df24e3326dfb8c0e33a86712d7bf /contrib/completion
parentcompletion: use __gitcomp_builtin in _git_help (diff)
downloadtgif-b00116b791bfa7dab6805fecb9269ed59bf022d4.tar.xz
completion: use __gitcomp_builtin in _git_init
The new completable option is --separate-git-dir=. 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 08f024a0ba..36ed502ed0 100644
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -1606,7 +1606,7 @@ _git_init ()
return
;;
--*)
- __gitcomp "--quiet --bare --template= --shared --shared="
+ __gitcomp_builtin init
return
;;
esac