Commit 28481d4
authored
[bugfix] fix wsl mode bits error in subdir (#4660)
Support for wsl mode bits was previously added to git, but there was a
bug because the filenames provided by fscache did not contain paths.
This commit fixes the issue.
The previous feature is added in PR #4438,
but at that time I didn't tested so much.
Sorry to have this bug.
To test this feature, set core.wslcompat to ture and core.filemode to
true and make sure repo is on NTFS.1 file changed
Lines changed: 14 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
241 | | - | |
242 | | - | |
243 | | - | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
244 | 255 | | |
245 | 256 | | |
246 | 257 | | |
| |||
0 commit comments