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

Re: bug: git-sh-setup should not be in $PATH

From
Han-Wen Nienhuys <hanwen@xs4all.nl>
Date
Dec 6, 2006, 16:56 UTC
Message-ID
<4576F65A.6010707@xs4all.nl>
In-Reply-To
<200612061752.39443.jnareb@gmail.com>
Jakub Narebski escreveu:
> I'm still not sure if this has place in git. Is it really common to
> support building outside source directory? If git didn't support this,
> so what?

lots of serious tools support it, as it this comes automatically when using automake. Eg. emacs, gcc, make, pango, lilypond, etc etc.

It's a quite standard feature ; you should be asking why git shouldn't support it.

Another option is to make a special solution based on makefiles, so make is run inside the srcdir, but output shunted output to a separate objects/ subdirectory. However, it's more work, and less standardized.

Previous: Jakub NarebskiNext: Jakub Narebski
Message 15 of 17 in “bug: git-sh-setup should not be in $PATH”
  1. Han-Wen NienhuysDec 6, 2006
  2. Johannes SchindelinDec 6, 2006
  3. Han-Wen NienhuysDec 6, 2006
  4. Jakub NarebskiDec 6, 2006
  5. Han-Wen NienhuysDec 6, 2006
  6. Jakub NarebskiDec 6, 2006
  7. Han-Wen NienhuysDec 6, 2006
  8. Jakub NarebskiDec 6, 2006
  9. Han-Wen NienhuysDec 6, 2006
  10. Jakub NarebskiDec 6, 2006
  11. Han-Wen NienhuysDec 6, 2006
  12. Jakub NarebskiDec 6, 2006
  13. Han-Wen NienhuysDec 6, 2006
  14. Jakub NarebskiDec 6, 2006
  15. Han-Wen NienhuysDec 6, 2006
  16. Jakub NarebskiDec 6, 2006
  17. Andreas EricssonDec 7, 2006

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.