summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNguyễn Thái Ngọc Duy <pclouds@gmail.com>2018-02-09 18:02:07 +0700
committerJunio C Hamano <gitster@pobox.com>2018-02-09 10:24:52 -0800
commitd73a59d12f10079ad404b2992a64dab961930234 (patch)
tree0cf6d663d5cd340a054369e0ab0b6c409eb16775
parent61d15cd63cf74bbe746b0c62df5da2784d95f3db (diff)
downloadgit-d73a59d12f10079ad404b2992a64dab961930234.tar.gz
completion: use __gitcomp_builtin in _git_name_rev
The new completable options are: --always --exclude --name-only --refs --undefined 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 bbf8623e3a..c7b8b37f19 100644
--- a/contrib/completion/git-completion.bash
+++ b/contrib/completion/git-completion.bash
@@ -1825,7 +1825,7 @@ _git_mv ()
_git_name_rev ()
{
- __gitcomp "--tags --all --stdin"
+ __gitcomp_builtin name-rev
}
_git_notes ()