Re: [PATCH] lock_any_ref_for_update(): clarify switch case statement
- From
Junio C Hamano <gitster@pobox.com>
- Date
- May 10, 2011, 20:07 UTC
- Message-ID
- <7vliyeiaju.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <4DC925F1.4060307@elegosoft.com>
Michael Schubert <mschub@elegosoft.com> writes:
> Write CHECK_REF_FORMAT_OK instead of '0' to be more verbose.
It is not wrong per-se to spell it out to be more descriptive, but I would think 0 is clear enough that there is no error.
In any case, being verbose is never a goal ;-).