ok/jj
1
0
Fork 0
forked from mirrors/jj
jj/lib
Martin von Zweigbergk 6c1aeff7a9 working copy: materialize symlinks on Windows as regular files
I was a bit surprised to learn (or be reminded?) that checking out
symlinks on Windows leads to a panic. This patch fixes the crash by
materializing symlinks from the repo as regular files. It also updates
the snapshotting code so we preserve the symlink-ness of a path. The
user can update the symlink in the repo by updating the regular file
in the working copy. This seems to match Git's behavior on Windows
when symlinks are disabled.
2024-02-09 09:20:24 -08:00
..
benches
gen-protos
src working copy: materialize symlinks on Windows as regular files 2024-02-09 09:20:24 -08:00
tests working copy: materialize symlinks on Windows as regular files 2024-02-09 09:20:24 -08:00
testutils
Cargo.toml
LICENSE