forked from git/git
-
Notifications
You must be signed in to change notification settings - Fork 162
Support symbolic links on Windows #2018
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
dscho
wants to merge
34
commits into
gitgitgadget:js/prep-symlink-windows
Choose a base branch
from
dscho:symlinks-next
base: js/prep-symlink-windows
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
34 commits
Select commit
Hold shift + click to select a range
9693157
t9700: accommodate for Windows paths
dscho 33ccd0f
apply: symbolic links lack a "trustable executable bit"
dscho 78d52c8
mingw: special-case `open(symlink, O_CREAT | O_EXCL)`
dscho c8fb79c
t0001: handle `diff --no-index` gracefully
dscho d2de5d9
t0301: another fix for Windows compatibility
dscho 14b033f
t0600: fix incomplete prerequisite for a test case
dscho c670ae3
t1006: accommodate for symlink support in MSYS2
dscho d265cde
t1305: skip symlink tests that do not apply to Windows
dscho 02ea262
t6423: introduce Windows-specific handling for symlinking to /dev/null
dscho a4c7170
t7800: work around the MSYS path conversion on Windows
dscho 359de97
Merge branch 'js/test-symlink-windows' into js/prep-symlink-windows
gitster df27101
mingw: do resolve symlinks in `getcwd()`
dscho 722e65d
init: do parse _all_ core.* settings early
dscho f6b8e4a
strbuf_readlink(): avoid calling `readlink()` twice in corner-cases
kblees 9ce11d9
strbuf_readlink(): support link targets that exceed PATH_MAX
kblees 6f6fe02
trim_last_path_component(): avoid hard-coding the directory separator
kblees dae450d
mingw: don't call `GetFileAttributes()` twice in `mingw_lstat()`
kblees c36848e
mingw: implement `stat()` with symlink support
kblees aa0ca80
mingw: drop the separate `do_lstat()` function
kblees 8860443
mingw: let `mingw_lstat()` error early upon problems with reparse points
kblees db1d156
mingw: teach dirent about symlinks
kblees 4c49a3d
mingw: compute the correct size for symlinks in `mingw_lstat()`
billziss-gh ad74d54
mingw: factor out the retry logic
kblees 25313ce
mingw: change default of `core.symlinks` to false
kblees b698f4a
mingw: add symlink-specific error codes
kblees 282aba4
mingw: handle symlinks to directories in `mingw_unlink()`
kblees 5cb3b10
mingw: support renaming symlinks
kblees 4992083
mingw: allow `mingw_chdir()` to change to symlink-resolved directories
kblees 8fef822
mingw: implement `readlink()`
kblees 1dd5f9d
mingw: implement basic `symlink()` functionality (file symlinks only)
kblees 7b6dbc7
mingw: add support for symlinks to directories
kblees d3b89c2
mingw: try to create symlinks without elevated permissions
dscho 2e73ab4
mingw: emulate `stat()` a little more faithfully
dscho 817f488
mingw: special-case index entries for symlinks with buggy size
dscho File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On the Git mailing list, Johannes Sixt wrote (reply to this):