Petr Baudis <pasky@xxxxxxx> writes: > On Fri, May 30, 2008 at 10:27:50PM +0200, Lea Wiemann wrote: >> The parse_rev method takes a revision name and returns a SHA1 hash, >> like the git-rev-parse command. >> >> Signed-off-by: Lea Wiemann <LeWiemann@xxxxxxxxx> > > Nice, this looks quite sane! Perhaps, but except for the use of nonstandard try...catch. I have been wondering if we can move away from it, with the goal of eventually getting rid of the construct altogether. Didn't we hear from Randal that the construct is known to be leaky? -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html