summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2018-02-09 18:02:14 +0700
committerJunio C Hamano <gitster@pobox.com>2018-02-09 10:24:52 -0800
commit39073104e2c2d1f700bc4c6d54424b81fab37eda (patch)
tree08d007c267f8633f9d1b997430cb491b387e17b8
parent1b35475546995edfdb4c56bbbef9a5dac7974ffb (diff)
downloadgit-39073104e2c2d1f700bc4c6d54424b81fab37eda.tar.gz
completion: use __gitcomp_builtin in _git_reset
The new completable options are: --intent-to-add --quiet --recurse-submodules Signed-off-by: Nguyễn Thái Ngọc Duy <pclouds@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-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 18c2ccece9..9aca05d01e 100644
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -2685,7 +2685,7 @@ _git_reset ()
case "$cur" in
--*)
- __gitcomp "--merge --mixed --hard --soft --patch --keep"
+ __gitcomp_builtin reset
return
;;
esac