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

Re: tool and worktree

From
Jonas Fonseca <jonas.fonseca@gmail.com>
Date
Feb 9, 2009, 01:17 UTC
Message-ID
<2c6b72b30902081717q35fd4ba0k6ff5b1be8cd5ef2c@mail.gmail.com>
In-Reply-To
<2c6b72b30902080147u61412b04w24baa0e5fdc29584@mail.gmail.com>
On Sun, Feb 8, 2009 at 10:47, Jonas Fonseca <jonas.fonseca@gmail.com> wrote:
> It might be as
> simple as setting the GIT_DIR environment to getcwd() + output of
> git-rev-parse --git-dir and then chdir() to core.worktree.
I have pushed a lightly tested patch that does something like this ...
-- 
Jonas Fonseca
Previous: Jonas FonsecaNext: bill lam
Message 3 of 6 in “tool and worktree”
  1. bill lamFeb 8, 2009
  2. Jonas FonsecaFeb 8, 2009
  3. Jonas FonsecaFeb 9, 2009
  4. bill lamFeb 9, 2009
  5. Jonas FonsecaFeb 9, 2009
  6. Shawn O. PearceFeb 8, 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.