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

Re: Update symlinks after changing core.symlinks

From
AZAndrej Zhilenkov <azhilenkov@gmail.com>
Date
Apr 10, 2025, 19:29 UTC
Message-ID
<CAArAzArGWE8S2gjvueS+fQ9c56mbzrRV5=0V8SaSX1NUMSXDSg@mail.gmail.com>
In-Reply-To
<Z--Kz4jsRzm4VSZd@tapette.crustytoothpaste.net>
Show 7 quoted lines
> Ah, there I disagree.  I think if you have privileges to create
> symlinks, you probably want them to always be enabled, and if not, you
> don't really have a choice and they'll be disabled.  My experience with
> using repositories with symbolic links is that typically they don't
> function at all (or, if the maintainer has taken great care, only with
> greatly reduced functionality) if the symlinks are missing.  I think
> Git's repository is by far the exception here.

I personally agree that everyone should just enable them globally if they can. Still, maybe it's just me, but I don't like proposing global changes to users when they need it just for some repo.

And also, I keep seeing Windows users having `git config --local core.symlinks` set to `false` (God knows why - in theory Git for Windows suppose to set `--system core.symlinks` to `false`, `--local` shouldn't be affected by this) and just setting `--local` helps covering those cases too.

Previous: brian m. carlson
Message 6 of 6 in “Update symlinks after changing core.symlinks”
  1. Andrej ZhilenkovApr 2, 2025
  2. brian m. carlsonApr 2, 2025
  3. brian m. carlsonApr 3, 2025
  4. Andrej ZhilenkovApr 4, 2025
  5. brian m. carlsonApr 4, 2025
  6. Andrej ZhilenkovApr 10, 2025

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.