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

Re: [PATCH] To make GIT-VERSION-FILE, search for git more widely

From
MAMatthias Andree <matthias.andree@gmx.de>
Date
May 7, 2009, 08:40 UTC
Message-ID
<op.utjw1pa71e62zd@merlin.emma.line.org>
In-Reply-To
<7vws8te2ht.fsf@alter.siamese.dyndns.org>
Am 07.05.2009, 10:33 Uhr, schrieb Junio C Hamano <gitster@pobox.com>:
Show 7 quoted lines
> Matthias Andree <matthias.andree@gmx.de> writes:
>
>> Problem: when git is installed into /usr/local/bin, running 'sudo make
>> install' won't find git in $PATH (because sudo strips PATH, for instance
>> on openSUSE 11.1, and doesn't include /usr/local/whatever).
>
> That sounds like a bug/misfeature in sudo (which I do not use) to me.
Some points:
1. sudo is the default sysadmin setup on Ubuntu (more so than on openSUSE)
2. sudo strips the environment by default for security reasons
3. why would we want to use an old git version (rather than an up to date  
one) to extract the data?
-- 
Matthias Andree
Previous: Junio C HamanoNext: Nicolas Sebrecht
Message 4 of 13 in “To make GIT-VERSION-FILE, search for git more widely”
  1. To make GIT-VERSION-FILE, search for git more widelyMatthias Andree, May 7, 2009
  2. Johannes SixtMay 7, 2009
  3. Junio C HamanoMay 7, 2009
  4. Matthias AndreeMay 7, 2009
  5. Re: To make GIT-VERSION-FILE, search for git more widelyNicolas Sebrecht, May 7, 2009
  6. Matthias AndreeMay 7, 2009
  7. Re: To make GIT-VERSION-FILE, search for git more widelyNicolas Sebrecht, May 7, 2009
  8. Johannes SixtMay 7, 2009
  9. Michael J GruberMay 7, 2009
  10. Matthias AndreeMay 7, 2009
  11. Matthias AndreeMay 7, 2009
  12. Johannes SixtMay 7, 2009
  13. To make GIT-VERSION-FILE, search for git more widelyMatthias Andree, May 7, 2009

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.