Re: [PATCH 5/5] builtin-prune: protect objects listed on the command line

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Michele Ballabio
Date: Thursday, March 27, 2008 - 2:11 pm

On Thursday 27 March 2008, Johannes Schindelin wrote:

Me neither, but, as a nitpick, wouldn't something like

		if (!get_sha1(name, sha1)) {
			object = parse_object(sha1);
			if (!object)
				die("bad object %s", name);
		} else
			die("unrecognized argument: %s", name);

be a bit more useful?
--
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 5/5] builtin-prune: protect objects listed on t ..., Johannes Schindelin, (Thu Mar 27, 9:35 am)
Re: [PATCH 5/5] builtin-prune: protect objects listed on t ..., Michele Ballabio, (Thu Mar 27, 2:11 pm)