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

Re: Getting rid of symlinks in .git?

From
Alex Riesen <raa.lkml@gmail.com>
Date
Nov 11, 2005, 12:43 UTC
Message-ID
<81b0412b0511110443x48415032k8ca40d999071e8a9@mail.gmail.com>
In-Reply-To
<43746118.30404@hogyros.de>
On 11/11/05, Simon Richter <Simon.Richter@hogyros.de> wrote:
Show 8 quoted lines
> > I personally would not mind getting rid of symlinks completely, but we
> > will still have to support them for some reasonable time period (several
> > major releases, as far as Cogito is concerned - actually, there is
> > plenty of people still using 0.13 and such).
>
> As someone who carries around git repositories on VFAT formatted USB
> sticks, I welcome our symlink-deprived overlords.
>

But you shouldn't care if you have reasonably recent git everywhere: symlinks and their absence already handled: .git/config created by init-db contains the configuration parameter for filemode, which decides whether it is safe to use the symlinks on the underlying filesystem. It looks more like a rhetorical question of code cleanup, because in-file symlinks already handle all possible cases.

Previous: Simon RichterNext: Petr Baudis
Message 3 of 13 in “Getting rid of symlinks in .git?”
  1. Petr BaudisNov 10, 2005
  2. Simon RichterNov 11, 2005
  3. Alex RiesenNov 11, 2005
  4. Petr BaudisNov 11, 2005
  5. Junio C HamanoNov 15, 2005
  6. Alex RiesenNov 15, 2005
  7. Johannes SchindelinNov 11, 2005
  8. Petr BaudisNov 11, 2005
  9. Johannes SchindelinNov 11, 2005
  10. Petr BaudisNov 11, 2005
  11. Johannes SchindelinNov 11, 2005
  12. Nick HengeveldNov 11, 2005
  13. Alex RiesenNov 11, 2005

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.