← Back to context

Comment by lolpython

15 hours ago

Fine if you don't need to git checkout the repo on Windows :)

Just .gitignore CLAUDE.md and handle it locally. Checking in a symlink would be weird.

Wow, still not there yet. After all these years.

  • Windows does actually have symlinks but I don't think I've ever seen anything actually use them, and I don't myself because it smells of interop issues with other windows apps.

    Even to this day Windows has all kinds of problems around long file paths in its ecosystem.

    • > Even to this day Windows has all kinds of problems around long file paths in its ecosystem.

      To this day I don't know if it's a Windows problem or a Python problem, because I never encountered this - and never realized this problem exists - except for some random Python code whose docs tell me to set some registry value because of "long paths issue".

      5 replies →

I'm surprised Git and/or Windows don't support symlinks?

  • Windows supports it but git disables creating symlinks by default.

    > Short version: there is no exact equivalent for POSIX symlinks on Windows, and the closest thing is unavailable for non-admins by default unless Developer Mode is enabled and a relatively recent Windows 10 version is used. Therefore, symlink emulation support is only turned on by default when that scenario is detected. Support can be enabled by the user, via the core.symlinks=true config setting.

    See: https://gitforwindows.org/symbolic-links.html

    • Yeah this is why I don't trust people saying devex is fixed on Windows now. Still doesn't properly clone git repos.