Upstream commit e1e00089da fixed the issue for Bash, but not for Zsh.
When we are typing configurations an = at the end signifies we still
want to type the value.
Can be tested with:
git -c log.d<tab>
Signed-off-by: Felipe Contreras <redacted>
---
contrib/completion/git-completion.zsh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/contrib/completion/git-completion.zsh b/contrib/completion/git-completion.zsh
index 6232d0a823..073f7d91d8 100644
--- a/contrib/completion/git-completion.zsh
+++ b/contrib/completion/git-completion.zsh
@@ -86,7 +86,7 @@ __gitcomp ()
fi
c="$c${4-}"
case $c in
- --*=|*.) ;;
+ *=|*.) ;;
*) c="$c " ;;
esac
array+=("$c")--
2.30.0