Thread (1 message) 1 message, 1 author, 2016-06-15

Re: Bug in "git rev-parse --verify"

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:56:34

Junio C Hamano [off-list ref] writes:
quoted
3. Verifying arguments at one spot centralizes error-checking at the
start of a script and eliminates one reason for random git commands to
fail later (when error recovery is perhaps more difficult).
Not necessarily, unless your script is a very narrow corner case
that is satisfied with "any kind of object goes".
Clarification.  I meant "A single central point to check is a useful
concept, but centrally checking 'does this exist? I do not care what
it is' is not necessarily useful and I suspect it is not useful more
often than it is".  When you care if something exists, you often
want to know what it is and other aspects of that thing at the same
time.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help