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

Re: [PATCH] allow setting GIT_WORK_TREE to "no work tree"

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 7, 2008, 09:10 UTC
Message-ID
<7vmyqdnndh.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<20080207051317.GA32296@sigill.intra.peff.net>
Jeff King <peff@peff.net> writes:
Show 6 quoted lines
> In fact, the more I think about it, that makes sense. WORK_TREE munging
> just happens to be the only special behavior right now that depends on
> whether the user manually set GIT_DIR. But what we really want to
> communicate to later code is not "I have corrected this particular
> munge" but "don't run any special behavior as a result of this variable
> being set."
Yeah, that makes sense.
Previous: Jay SoffianNext: Johannes Schindelin
Message 10 of 13 in “allow setting GIT_WORK_TREE to "no work tree"”
  1. allow setting GIT_WORK_TREE to "no work tree"Jeff King, Feb 6, 2008
  2. Johannes SixtFeb 6, 2008
  3. Jeff KingFeb 6, 2008
  4. Junio C HamanoFeb 6, 2008
  5. Junio C HamanoFeb 6, 2008
  6. Jeff KingFeb 7, 2008
  7. Jay SoffianFeb 7, 2008
  8. Johannes SchindelinFeb 7, 2008
  9. Jay SoffianFeb 7, 2008
  10. Junio C HamanoFeb 7, 2008
  11. Johannes SchindelinFeb 7, 2008
  12. Johannes SixtFeb 8, 2008
  13. Johannes SchindelinFeb 8, 2008

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.