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: Johannes Sixt
Date: Monday, June 9, 2008 - 7:23 am

Lea Wiemann schrieb:

Makes sense!


With this change an invalid name and a non-existing SHA1 are treated as
"missing". But an empty name is still an error, which we don't see here
because it's outside the hunk's context: It is the first thing that the
function checks, and there it exits with return 1. Why is this case still
special?

-- Hannes

--
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 ..., Johannes Schindelin, (Sun Jun 8, 6:02 pm)
Re: [PATCH] cat-file --batch / --batch-check: do not exit ..., Johannes Sixt, (Mon Jun 9, 7:23 am)