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

Re: [RFC] separate .git from working directory

From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
Date
Oct 11, 2006, 21:46 UTC
Message-ID
<fcaeb9bf0610111446i35251fc9i6517cc5b3b53fe84@mail.gmail.com>
In-Reply-To
<20061011181425.GA10922@admingilde.org>
On 10/12/06, Martin Waitz <tali@admingilde.org> wrote:
Show 8 quoted lines
> For subprojects you really need a shared object repository.
> In such a setup b/.git/objects would be a symlink to the parent
> object directory.
>
> On the other hand, you already have the same problem with
> a/.git/objects.  If you really want to move .git outside of the
> working directory you can always do so by using a symlink for
> the entire .git directory.

I thought about symlinks. However find will follow symlinks and traverse .git directories again. My goal is to prevent looking into .git directories

>
> --
> Martin Waitz
-- 
Duy
Previous: Martin WaitzNext: Junio C Hamano
Message 9 of 12 in “[RFC] separate .git from working directory”
  1. Nguyen Thai Ngoc DuyOct 11, 2006
  2. Alex RiesenOct 11, 2006
  3. SeanOct 11, 2006
  4. SeanOct 11, 2006
  5. Nguyen Thai Ngoc DuyOct 11, 2006
  6. Liu YubaoOct 12, 2006
  7. Liu YubaoOct 12, 2006
  8. Martin WaitzOct 11, 2006
  9. Nguyen Thai Ngoc DuyOct 11, 2006
  10. Junio C HamanoOct 11, 2006
  11. Martin WaitzOct 12, 2006
  12. Nguyen Thai Ngoc DuyOct 21, 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.