Skip to content

Commit bbd7f45

Browse files
felipecgitster
authored andcommitted
completion: zsh: trivial simplification
>From upstream bash simplification: d9ee1e0 (completion: simplify inner 'case' pattern in __gitcomp()) Signed-off-by: Felipe Contreras <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 2769e56 commit bbd7f45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/completion/git-completion.zsh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ __gitcomp ()
8585
fi
8686
c="$c${4-}"
8787
case $c in
88-
--*=*|*.) ;;
88+
--*=|*.) ;;
8989
*) c="$c " ;;
9090
esac
9191
array+=("$c")

0 commit comments

Comments
 (0)