Jeff King [off-list ref] writes:
On Tue, Feb 14, 2012 at 10:40:04AM -0800, Junio C Hamano wrote:
quoted
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.