Re: [PATCH] Trapping exit in tests, using return for errors

From: Junio C Hamano <junkio@cox.net>
Date: 2005-08-11 16:31:55
Junio C Hamano <junkio@cox.net> writes:

> Sorry, sent it out without finishing.  The worst is "return".

Ah, my mistake.  You have the eval that can eval "return" in a
function and let that "return" return from that function.
Cleverly done.

Thanks.

-
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
Received on Fri Aug 19 08:10:58 2005

This archive was generated by hypermail 2.1.8 : 2005-08-19 08:12:02 EST