From: Junio C Hamano Date: Tue, 14 Feb 2012 19:25:09 GMT Subject: Re: [RFC PATCH 0/3] git-p4: move to toplevel Message-ID: <7vpqdh6wve.fsf@alter.siamese.dyndns.org> In-Reply-To: <20120214190515.GB12072@sigill.intra.peff.net> Jeff King writes: > On Tue, Feb 14, 2012 at 10:40:04AM -0800, Junio C Hamano wrote: > >> I do not think tilde in $PATH is expanded by exec*p family to begin with, >> so it is not "dash" but POSIX, I would think. It is bash that is harming >> other programs, by trying to be more helpful, encouraging this user >> mistake to add ~ literally on the PATH. > > Hmm. There is an interesting ramification for run-command's "use_shell" > optimization.... > But if your shell handles PATH entries differently, then there is a > difference. Yeah, I agree; that is exactly what I meant by bash harming users by trying to be more helpful.