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

Re: .git as file pointing to directory?

From
Jens Lehmann <jens.lehmann@web.de>
Date
Nov 4, 2010, 23:28 UTC
Message-ID
<4CD34194.8010002@web.de>
In-Reply-To
<vpqbp64d9e0.fsf@bauges.imag.fr>
Am 04.11.2010 23:14, schrieb Matthieu Moy:
Show 22 quoted lines
> Jens Lehmann <Jens.Lehmann@web.de> writes:
> 
>> Am 04.11.2010 19:32, schrieb Matthieu Moy:
>>> Brad Larson <bklarson@gmail.com> writes:
>>>
>>>> Sorry if this is obvious, I can't figure out what term to search for.
>>>>
>>>> At gittogether there was some talk about having .git be a file, not a
>>>> folder, with contents pointing to the real .git directory.  Similar to
>>>> a symlink, but supported in Windows.  Is there a specific name for
>>>> this feature?  Where can I find more details?  Which version of git
>>>> introduced this?
>>>
>>> It has been discussed under the name "gitlink", which was
>>> unfortunately also used for something else in the subtree
>>> implementation, but AFAIK, it has never been implemented.
>>
>> Hmm, AFAIK gitlinks are already in heavy use for submodule entries ...
> 
> Err, isn't that precisely what I was saying? The same word has been
> used in the subtree implementation, but the other concept with the
> same name hasn't been implemented.
Sorry, seems like I misunderstood what you where saying.
Previous: Matthieu MoyNext: Jonathan Nieder
Message 5 of 7 in “.git as file pointing to directory?”
  1. Brad LarsonNov 4, 2010
  2. Matthieu MoyNov 4, 2010
  3. Jens LehmannNov 4, 2010
  4. Matthieu MoyNov 4, 2010
  5. Jens LehmannNov 4, 2010
  6. Jonathan NiederNov 4, 2010
  7. Brad LarsonNov 4, 2010

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.