From: Florian Klink Date: Sat, 18 Nov 2017 21:28:33 GMT Subject: Re: [PATCH] git-send-email: honor $PATH Message-ID: <20171118212833.qwcvt2divpi4smtl@tp.flokli.de> In-Reply-To: <20171118210109.ttp7bnihi3xb4xvs@genre.crustytoothpaste.net> >This patch adds support for PATH, but it also removes the fixed paths. >On many systems, unprivileged users don't have /usr/sbin in their PATH, >and I know of no systems which provide /usr/lib as a PATH value. >Therefore, it's possible that this change will break automatic detection >of sendmail for many users. > >I think what you probably want to do is use entries in PATH first, and >leave the two old values as backups at the end. You're perfectly right - forgot about /usr/sbin not in PATH for unprivileged users. Will send a new patch which appends to the original list.