Skip to content

Commit 7f2fcdc

Browse files
committed
Revert "Updated Git cannot create a file or directory with a long path (markdown)"
Contrary to the claim made in this commit, the registry setting is not required for Git for Windows' long paths support to work. This reverts commit 6bd107b. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent 21a499b commit 7f2fcdc

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

Git-cannot-create-a-file-or-directory-with-a-long-path.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@ That being said, long paths support for C-based git commands can be enabled by s
1212
git config core.longpaths true
1313
```
1414

15-
> [!NOTE]
16-
> In addition to setting the git configuration the OS also needs to be configured to have longpaths enabled via the [Registry](https://learn.microsoft.com/en-us/windows/win32/fileio/maximum-file-path-limitation?tabs=registry#registry-setting-to-enable-long-paths) or group policy.
17-
1815
# Technical background
1916

2017
The root cause of the technical limitation of 260 chars lies deeply within the Win32 API.

0 commit comments

Comments
 (0)