Unverified Commit d050acf7 by Edward Thomson Committed by GitHub

Merge pull request #4653 from stinb/junction-point-diff-from-git

Added note about Windows junction points to the differences from git document
parents f9cf9a04 d54c34a7
......@@ -18,3 +18,10 @@ The same difference exists when listing worktrees:
git worktree list -> /home/user/projects/libgit2
git_repository_workdir(repo) -> /home/user/projects/libgit2/
```
Windows Junction Points
-----------------------
In libgit2, junction points are treated like symbolic links. They're handled specially in `git_win32__file_attribute_to_stat` in `src/win/w32_util.h`. This means that libgit2 tracks the directory itself as a link.
In Git for Windows, junction points are treated like regular directories. This means that Git for Windows tracks the contents of the directory.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment