mirror of
https://github.com/git/git
synced 2024-10-30 04:01:21 +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
1 changed files with 2 additions and 0 deletions
|
@ -1410,6 +1410,8 @@ _git_shortlog ()
|
||||||
|
|
||||||
_git_show ()
|
_git_show ()
|
||||||
{
|
{
|
||||||
|
__git_has_doubledash && return
|
||||||
|
|
||||||
local cur="${COMP_WORDS[COMP_CWORD]}"
|
local cur="${COMP_WORDS[COMP_CWORD]}"
|
||||||
case "$cur" in
|
case "$cur" in
|
||||||
--pretty=*)
|
--pretty=*)
|
||||||
|
|
Loading…
Reference in a new issue