Re: [PATCH] Trapping exit in tests, using return for errors
- From
Junio C Hamano <junkio@cox.net>
- Date
- Aug 11, 2005, 06:31 UTC
- Message-ID
- <7vvf2dm1b8.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <7vzmrpm1q9.fsf@assigned-by-dhcp.cox.net>
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.