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

[SR-13072] GitInterfaceError.malformedResponse : "unexpected tree entry" when a file with control characters is in the Git repo #4532

Open
neonichu opened this issue Jun 24, 2020 · 1 comment

Comments

@neonichu
Copy link
Member

Previous ID SR-13072
Radar None
Original Reporter @neonichu
Type Improvement
Additional Detail from JIRA
Votes 0
Component/s Package Manager
Labels Improvement
Assignee None
Priority Medium

md5: 22535ddb55c117208e7da3b5cd3f5963

Issue Description:

If a repo contains a file with control characters in the name, SwiftPM's Git parsing code fails to parse some Git response.

This can be reproduced using `.package(url: "https://github.com/hexagons/PixelKit.git", from: "1.1.1")`

See also https://developer.apple.com/forums/thread/650499

@swift-ci
Copy link
Contributor

Comment by Anton Heestand (JIRA)

To replicate the issue, add a custom icon (.icns) to a swift package folder in finder.
I've isolated the issue in this repo at tag 0.0.3:
https://github.com/hexagons/SR-13072
Here's a simple app where the package resolution failure occurs:
https://github.com/hexagons/SR-13072-Test-App

@swift-ci swift-ci transferred this issue from apple/swift-issues Apr 25, 2022
@shahmishal shahmishal transferred this issue from apple/swift May 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants