Git cannot create a file or directory with a long path
Johannes Schindelin edited this page 2025-03-18 11:19:20 +01:00
Clone

Wiki Page Revisions

6 Commits

Author SHA1 Message Date
Johannes Schindelin
1854c70bf9 Replace all page contents with links to the new location
This trick was performed via:

  git ls-files \*.md |
  while read f
  do
    pr_url=https://github.com/git-for-windows/git-for-windows.github.io/pull/59
    url=https://gitforwindows.org/${f%.md}
    echo "This wiki page [has been migrated]($pr_url) to a new location: [$url]($url)" >"$f"
  done

There are two pages where this does not make sense, `0.-Index` and
`_Footer`, which will be handled in the next commit.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2025-03-18 11:19:20 +01:00
Johannes Schindelin
7f2fcdcf99 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 6bd107b1242880f1a49d3464e969de4e15de9c7b.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2025-03-06 10:32:54 +01:00
Johannes Schindelin
21a499b3a6 Revert "Updated Git cannot create a file or directory with a long path (markdown)"
This commit claimed that `cmd.exe` can work with long paths, but that is
only the case when editing the registry, in ways that most users will
never learn about.

So let's avoid claiming that it works.

This reverts commit 5a5d8d0ab281004b0f806a3d7574ae6f3488c50f.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
2025-03-06 10:31:58 +01:00
James Nord
6bd107b124 Updated Git cannot create a file or directory with a long path (markdown) 2025-03-05 15:22:41 +00:00
James Nord
5a5d8d0ab2 Updated Git cannot create a file or directory with a long path (markdown) 2025-03-05 15:18:04 +00:00
dscho
3a927f86a3 Copy-edit of https://github.com/msysgit/msysgit/wiki/Git-cannot-create-a-file-or-directory-with-a-long-path 2015-08-16 10:43:09 +02:00