git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] git-send-email: honor $PATH

From
Florian Klink <flokli@flokli.de>
Date
Nov 18, 2017, 21:28 UTC
Message-ID
<20171118212833.qwcvt2divpi4smtl@tp.flokli.de>
In-Reply-To
<20171118210109.ttp7bnihi3xb4xvs@genre.crustytoothpaste.net>
Show 8 quoted lines
>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.

Previous: brian m. carlsonNext: Florian Klink
Message 3 of 9 in “git-send-email: honor $PATH”
  1. git-send-email: honor $PATHFlorian Klink, Nov 18, 2017
  2. brian m. carlsonNov 18, 2017
  3. Florian KlinkNov 18, 2017
  4. git-send-email: honor $PATH for sendmail binaryFlorian Klink, Nov 18, 2017
  5. Junio C HamanoNov 19, 2017
  6. Florian KlinkNov 19, 2017
  7. Florian KlinkNov 28, 2017
  8. git-send-email: honor $PATH for sendmail binaryFlorian Klink, Nov 28, 2017
  9. Junio C HamanoNov 28, 2017

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.