From: Alex Riesen Date: Wed, 14 Mar 2007 09:07:21 GMT Subject: Re: [PATCH] Allow git-diff exit with codes similar to diff(1) Message-ID: <81b0412b0703140207kf887738od482022497d2a63d@mail.gmail.com> In-Reply-To: <7vfy88dwvw.fsf@assigned-by-dhcp.cox.net> On 3/14/07, Junio C Hamano wrote: > and people who have been learning from the scripts (we used to > have lot more scripts) would have picked up that pattern. > That's why I already told you that --exit-status is the right > thing to do if we were doing it from scratch, but is a wrong > thing to do at this point. Maybe in a release as big as 1.5.0 > that we pre-announce a lot of interface changes. This is something I don't understand: why is a new option --exit-code wrong? Noone uses it yet and the default exit code is at it was before (modulo the bug with diff-tree). I am *not* proposing to change default exit codes (well, I suggest that). So what's the problem?