Subject: Re: [RFC/PATCH] git-completion.bash: remove bashism to fix ZSH compatibility

From: Manlio Perillo <[email-masked]>
Date: Mon, 11 Mar 2013 18:12:57 +0100

Il 11/03/2013 18:01, Junio C Hamano ha scritto:
> [...]
> Having to restrict to the common subset means that whenever bash
> adds new and useful features that this script could take advantage
> of to improve the user experience, they cannot be employed until zsh
> catches up (and worse yet, it is outside the control of this script
> if zsh may ever catch up in the specific feature).
> 

Maybe, to avoid this problem and code duplication (the main reason bash
script is sourced, as far as I can tell), it may be useful to add
additional reusable git commands, for use in shell completion?

E.g:
	git suggest <cmd> *args

returns a line separed list of filenames affected by cmd.

Regards  Manlio