summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2018-02-09 12:02:03 +0100
committerJunio C Hamano <gitster@pobox.com>2018-02-09 19:24:51 +0100
commitcdc71c1c5dabc2da7fd8c5c64dc4a3802720fe74 (patch)
treee3feb81fd44011559b441dc30e1e36171f056deb /contrib
parentcompletion: use __gitcomp_builtin in _git_ls_files (diff)
downloadgit-cdc71c1c5dabc2da7fd8c5c64dc4a3802720fe74.tar.xz
git-cdc71c1c5dabc2da7fd8c5c64dc4a3802720fe74.zip
completion: use __gitcomp_builtin in _git_ls_remote
The new completable options are --quiet and --upload-pack=. 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')
-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 1ea06b6e17..e22ea60bc8 100644
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -1630,7 +1630,7 @@ _git_ls_remote ()
{
case "$cur" in
--*)
- __gitcomp "--heads --tags --refs --get-url --symref"
+ __gitcomp_builtin ls-remote
return
;;
esac