mirror of
https://github.com/git/git
synced 2024-08-28 12:09:19 +00:00
bash completion: add doubledash to "git show"
Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
111539a3c7
commit
41d8cf7d7f
|
@ -1410,6 +1410,8 @@ _git_shortlog ()
|
|||
|
||||
_git_show ()
|
||||
{
|
||||
__git_has_doubledash && return
|
||||
|
||||
local cur="${COMP_WORDS[COMP_CWORD]}"
|
||||
case "$cur" in
|
||||
--pretty=*)
|
||||
|
|
Loading…
Reference in a new issue