Skip to content

fixup! mingw: support long paths #5550

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Apr 7, 2025
Merged

Conversation

kgybels
Copy link

@kgybels kgybels commented Apr 5, 2025

When rebasing c8b6c1d (mingw: support long paths, 2015-07-28) on top of 391bcea (compat/mingw: support POSIX semantics for atomic renames, 2024-10-27) a newly introduced MAX_PATH buffer was not increased to MAX_LONG_PATH.

This fixes #5476

When rebasing c8b6c1d (mingw: support long paths, 2015-07-28) on
top of 391bcea (compat/mingw: support POSIX semantics for atomic
renames, 2024-10-27) a newly introduced MAX_PATH buffer was not
increased to MAX_LONG_PATH.

This fixes git-for-windows#5476

Signed-off-by: Kim Gybels <[email protected]>
@dscho dscho added this to the Next release milestone Apr 7, 2025
Copy link
Member

@dscho dscho left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks obviously correct to me. Thank you so much @kgybels!

@dscho dscho merged commit 16d82dc into git-for-windows:main Apr 7, 2025
114 of 115 checks passed
github-actions bot pushed a commit to git-for-windows/build-extra that referenced this pull request Apr 7, 2025
[Git for Windows 2.48.1 introduced a
regression](git-for-windows/git#5476) when
fetching long branches under `core.longPaths = true`, which [was
fixed](git-for-windows/git#5550).

Signed-off-by: gitforwindowshelper[bot] <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Git fetch fails with too long branches since 2.48.1
2 participants