mirror of
https://github.com/git/git
synced 2024-08-28 03:59:25 +00:00
completion: zsh: trivial simplification
>From upstream bash simplification:
d9ee1e0617
(completion: simplify inner 'case' pattern in __gitcomp())
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
parent
2769e567d1
commit
bbd7f45884
|
@ -85,7 +85,7 @@ __gitcomp ()
|
|||
fi
|
||||
c="$c${4-}"
|
||||
case $c in
|
||||
--*=*|*.) ;;
|
||||
--*=|*.) ;;
|
||||
*) c="$c " ;;
|
||||
esac
|
||||
array+=("$c")
|
||||
|
|
Loading…
Reference in a new issue