Skip to content

archive: do not match Debian packages as ar - #161

Open
team-humaki wants to merge 1 commit into
h2non:masterfrom
team-humaki:ar-exclude-debian-packages
Open

team-humaki wants to merge 1 commit into
h2non:masterfrom
team-humaki:ar-exclude-debian-packages

Conversation

@team-humaki

Copy link
Copy Markdown

Debian packages are ar archives whose first member is debian-binary, so they share the !<arch> magic.

Match walks a map, so the generic ar matcher can win first. Treat a buffer as ar only when it is not a Debian package.

Fixes #126

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.

deb file incorrectly matching to ar

1 participant