Re: [PATCH] Change "refs/" references to symbolic constants
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Feb 20, 2007, 11:37 UTC
- Message-ID
- <Pine.LNX.4.63.0702201235350.22628@wbgn013.biozentrum.uni-wuerzburg.de>
- In-Reply-To
- <200702201057.21398.andyparkins@gmail.com>
Hi,
On Tue, 20 Feb 2007, Andy Parkins wrote:
> I've never really liked "!" on strcmp() lines (but I accept that that is the > tradition in git) because it implies the the output of prefixcmp is boolean, > but it's actually ternary.
Actually, it's not even ternary, but to the return value should only be handled in terms of >0, ==0, <0.
Ah, and if "!" implies a boolean, then why is "!!" a common construct? Because "!" really does not imply a boolean.
Ciao, Dscho