Re: git-filter-branch exits early

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 7/10/07, Johannes Schindelin <Johannes.Schindelin@xxxxxx> 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 :)
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux