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

Re: [Feature request] make git buildable from a separate directory

From
Jonathan Nieder <jrnieder@gmail.com>
Date
Jan 6, 2013, 00:49 UTC
Message-ID
<20130106004917.GA6063@elie.Belkin>
In-Reply-To
<50E89275.6080408@gmail.com>
Hi Manlio,
Manlio Perillo wrote:
Show 5 quoted lines
> Many C projects I have seen (based on autoconf, but not always - like
> Nginx) allow the project to be build in a separate directory, in order
> to avoid to pollute the working directory with compiled files.
>
> Unfortunately this seems to not be possible with Git.

I believe the Cygwin build[1] does this, so that could be a starting point if you want to work on it.

They use the VPATH variable[2].

Hope that helps, Jonathan

[1] http://cygwin.com/ml/cygwin/2012-02/msg00391.html [2] https://www.gnu.org/software/make/manual/html_node/General-Search.html#General-Search

Previous: Manlio Perillo
Message 2 of 2 in “[Feature request] make git buildable from a separate directory”
  1. Manlio PerilloJan 5, 2013
  2. Jonathan NiederJan 6, 2013

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.