Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
completion: use __gitcomp_builtin in _git_name_rev
author
Nguyễn Thái Ngọc Duy
<pclouds@gmail.com>
Fri, 9 Feb 2018 11:02:07 +0000
(18:02 +0700)
committer
Junio C Hamano
<gitster@pobox.com>
Fri, 9 Feb 2018 18:24:52 +0000
(10:24 -0800)
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>
contrib/completion/git-completion.bash
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
61d15cd
)
diff --git
a/contrib/completion/git-completion.bash
b/contrib/completion/git-completion.bash
index bbf8623e3ad8dd47eae7d7925808cfd5571b61a0..c7b8b37f196014ebfdbcc214ccb72c4750647d47 100644
(file)
--- 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 ()