Skip to content

Conversation

@petamas
Copy link

@petamas petamas commented Feb 10, 2026

identify already supports *.patch, assigning it a diff tag. However, some people use *.diff as an extension instead of *.patch.

As far as I know, both extensions may contain various diff formats, and there's no official distinction between the two.

Stack Overflow answer saying the same: https://stackoverflow.com/a/4215933

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant