From: Alex Riesen Date: Wed, 11 Jul 2007 06:02:54 GMT Subject: Re: git-filter-branch exits early Message-ID: <81b0412b0707102302i34a51baax464f8c7c69087b7d@mail.gmail.com> In-Reply-To: On 7/10/07, Johannes Schindelin wrote: > On Tue, 10 Jul 2007, Alex Riesen wrote: > > > I have a Debian system where git-filter-branch exits immediately after > > "unset CDPATH" in git-sh-setup (the command exits with 1, as CDPATH is > > not defined). The system still has bash-2.05a. > > > > git-filter-branch has "set -e", which is why the script finishes > > prematurely. If this is not really needed, maybe it can be removed? > > > > I'll see if the system can be upgraded, but I suspect someone can get > > a similar problem. > > I do not really understand why "unset CDPATH" should trigger an error. I > guess that this is one of the nice braindamages in dash, right? in bash. Bash-2.05.a > Anyway, "set -e" was one thing I wanted to fix. ... BTW, what can break if I just go on and remove it? > - since it is a C program, it should be more stable, eventually, than a > shell script, where you have to work around limitations all the time, right :)