Re: git-filter-branch exits early
On 7/10/07, Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:
Show 14 quoted lines
> 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?
> 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,