Re: Bug? Bad permissions in $PATH breaks Git aliases

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

 



On Mar 26, 2012 at 11:14 PM, Johannes Sixt <j.sixt@xxxxxxxxxxxxx> wrote:
> Git is not a shell. And I'm sure it is not the only program that has this
> issue. "Don't do it, then."

I haven't found any other program that has this issue yet.  It seems
like a pretty unique situation, since it's basically a side effect of
Git having aliases with lower precedence than executables.  Most
programs don't have that combination - they either don't have aliases
at all, or their aliases have higher precedence than executables.

> Don't check the
> sanity of your PATH by testing how your shell looks up executables.

I'm not claiming that it's sane to have a broken PATH, but as I
mentioned in an earlier email, sometimes my PATH gets broken through
no fault of my own, and it would be nice if Git could be more helpful
in that case.

James
--
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]