Re: [PATCH] cat-file --batch / --batch-check: do not exit if hashes are missing

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Lea Wiemann
Date: Sunday, June 8, 2008 - 5:05 pm

Johannes Schindelin wrote:

Yes, return 0 causes it to not exit (which is the desired effect, as in 
documented).


No, it's not an error.  I suggest you read git-cat-file.1 -- getting a 
response of "<object> missing" (rather than cat-file terminating) if you 
pass in a non-existent object is the desired behavior, and it happened 
before for named objects, like "HEAD", but not for full hashes.  Now it 
also happens for full hashes.

-- Lea
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] cat-file --batch / --batch-check: do not exit ..., Johannes Schindelin, (Sun Jun 8, 4:34 pm)
Re: [PATCH] cat-file --batch / --batch-check: do not exit ..., Lea Wiemann, (Sun Jun 8, 5:05 pm)
Re: [PATCH] cat-file --batch / --batch-check: do not exit ..., Johannes Schindelin, (Sun Jun 8, 6:02 pm)