Skip to content

Conversation

@rwgk
Copy link
Collaborator

@rwgk rwgk commented Nov 20, 2025

On Linux (including WSL) the file cuda_python/README.md is a real symlink, whereas on Windows Git it is checked out as a plain file containing ../README.md (without a trailing LF). When pre-commit runs under WSL, the end-of-file-fixer hook rewrites this file, and Git Bash can no longer handle the symlink-emulation file correctly, resulting in errors on subsequent git operations.

…e-fixer

On Linux (including WSL) the file cuda_python/README.md is a real symlink,
whereas on Windows Git it is checked out as a plain file containing
"../README.md" (without a trailing LF). When pre-commit runs under WSL, the
end-of-file-fixer hook rewrites this file, and Git Bash can no longer handle
the symlink-emulation file correctly, resulting in errors on subsequent git
operations.
@copy-pr-bot
Copy link
Contributor

copy-pr-bot bot commented Nov 20, 2025

Auto-sync is disabled for ready for review pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

Copy link
Contributor

@mdboom mdboom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@rwgk rwgk enabled auto-merge (squash) November 20, 2025 21:04
@rwgk
Copy link
Collaborator Author

rwgk commented Nov 20, 2025

/ok to test

@rwgk rwgk merged commit b347255 into NVIDIA:main Nov 20, 2025
12 of 13 checks passed
@rwgk rwgk deleted the end-of-file-fixer_exclude_softlinked_file branch November 20, 2025 21:07
@github-actions
Copy link

Doc Preview CI
Preview removed because the pull request was closed or merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants