Repository navigation
Commit 5077a1b
committed
fix(pending): defer backslash HEAD symlink targets to Git
Gatekeeper round 4 on #909 found that HEAD symlink targets were normalised from backslashes to slashes on every platform. Git for Windows performs that conversion, but Linux and macOS Git compare the raw target with refs/, reject a backslash target and continue discovery, so the filesystem read could trust a .git that Git skips.
Any HEAD symlink target containing a backslash now defers to Git, which applies its platform rules. The regression runs everywhere symbolic links are available: the result must equal git rev-parse, and on POSIX the directory must not share the workspace repository (exercised by the Linux CI server suite). Pending broker and Git preflight suites pass 36/36.1 parent ba44737 commit 5077a1b
2 files changed
Lines changed: 26 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
112 | 133 | | |
113 | 134 | | |
114 | 135 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
82 | 86 | | |
83 | 87 | | |
84 | 88 | | |
| |||
0 commit comments