Re: [PATCH] Documentation: Update information about <format> in git-for-each-ref
- From
Junio C Hamano <junkio@cox.net>
- Date
- Nov 1, 2006, 15:30 UTC
- Message-ID
- <7vac3b5gn8.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <454875AC.6060300@op5.se>
Andreas Ericsson <ae@op5.se> writes:
Show 5 quoted lines
> ... For me it's the other > way around, so I think of the above as "if it doesn't compare to this > or that, then do this", but the "are equal to" meaning of "compare" > isn't intuitive to me as I spent the first several years of my > english-speaking life using "compare" exclusively as a verb.
<offtopic>
I think I should have said that "I force me to pronounce" and I am trying to say the same thing as you said.
xxxcmp(a, b) literally is "compare a and b and give me the result"; the result coming back as "true" when a and b are different is counter-intuitive and I think it is so to everybody, not limited to non-English speaking people. That's why I force me to ignore the etymology of the "cmp" in the function name and call that "a and b differs" or "subtract b from a" depending on the context.
By the way, I think "a compares to b" is also a verb, not just "i compare a and b and found these differences".
</offtopic>