Skip to content
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

Fix pod install issue when git's core.fsmonitor feature is enabled (again) #12349

Merged

Conversation

justinseanmartin
Copy link
Contributor

@justinseanmartin justinseanmartin commented Apr 16, 2024

Use rsync to exclude copying the fsmonitor--daemon.ipc (or anything under the .git directory for that matter). From the original PR #12158:

This prevents a copy error where the system is unable to copy the ipc file due to being a socket. This would otherwise manifest as errors during pod install with the message "too long unix socket path" if git's core.fsmonitor feature is enabled.

I don't think this change was causing any of the issues that led to the revert in #12229 for the 1.15.2 release. I verified that I can reproduce the issue in #12226 against 1.15.0 and it does not reproduce against this branch.

This should again resolve #11640.

@justinseanmartin justinseanmartin merged commit 028af0b into CocoaPods:master Apr 16, 2024
6 checks passed
@justinseanmartin justinseanmartin deleted the jmartin/12158-redux branch April 16, 2024 22:50
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.

When install some_pod,error: ArgumentError - too long unix socket path (115bytes given but 104bytes max)
3 participants