From: Ralf Wildenhues Date: Fri, 09 Nov 2007 09:05:10 GMT Subject: Re: [BUG] git-rebase fails when a commit message contains a diff Message-ID: <20071109090509.GA20121@ins.uni-bonn.de> In-Reply-To: <473420FE.7010807@viscovery.net> * Johannes Sixt wrote on Fri, Nov 09, 2007 at 09:57:34AM CET: > Benoit Sigoure schrieb: >> Off topic question: why do you guys always do this instead of doing, say, >> this: >> >> INTERACTIVE=false [...] >> if $INTERACTIVE; then >> git_editor "$TODO" || die ... >> fi > > Because in some shells 'false' is not a built-in. [...] > INTERACTIVE="! :" # false Which shells do not have 'false' but do support '!' as process exit status negation? For them, is it important to save another fork? Solaris sh has neither (it will error on the '!'), but it's ruled out for git anyway. Cheers, Ralf