Re: [PATCH] Fix git-completion.bash for use in zsh

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Alex Merry <kde@xxxxxxxxxxxxxxxx> writes:
> ...
>> On 01/09/11 14:47, Alex Merry wrote:
>>> Certain versions (or option combinations) of zsh appear to treat
>>> things like
>>> local some_var=()
>>> as a function declaration.  This makes errors appear when using it in
>>> combination with the GIT_PS1_SHOWUPSTREAM option.

The change in this patch itself may be innocuous, but we would point at
the log message of the commit this patch would create to the next person
who would write "local var=()" in contrib/completion/git-completion.bash
file and tell him to fix his patch.

And for that purpose, the above log message is way too vague.  It is
unclear how the problem can be reproduced ("Certain versions"??? "option
combinations"???  Even if you do not exhaustively enumerate the condition,
you at least should be able to say which *one* version you observed the
problem with, and with what option combinations).  It does not even say
what symptom to expect ("errors appear"???  What error message would one
get?).  We would need a more useful explanation to help people who make
further changes to the code.

Also, the original patch was whitespace damaged IIRC.
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]