Commit 8d45fbe
committed
fix: exclude burr/examples symlink from end-of-file-fixer pre-commit hook
end-of-file-fixer mistreats the symlink as a regular text file and
appends '\n' to the link target, turning '../examples' (11 bytes) into
'../examples\n' (12 bytes). Strict consumers (Apache RAT, Linux tar
extractors) then fail to resolve the symlink. This is exactly the bug
that motivated PR #748 — without this exclude, the next pre-commit run
on a maintainer's machine would silently re-corrupt the symlink.
Also exclude trailing-whitespace defensively for the same reason.1 parent b18eee6 commit 8d45fbe
1 file changed
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
36 | 44 | | |
| 45 | + | |
37 | 46 | | |
38 | 47 | | |
39 | 48 | | |
| |||
0 commit comments