Commit b347255
authored
pre-commit: exclude soft-linked cuda_python/README.md from end-of-file-fixer (#1278)
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.1 parent b1a6baf commit b347255
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
56 | | - | |
| 56 | + | |
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
| |||
0 commit comments