.diff
2 claimants
1 primary
1 secondary
unambiguous primary
SWH popularity
Distinct files in the full Software Heritage archive (2026-06-04 export), dated by first appearance, following Desmazières, Di Cosmo, Lorentz (MSR 2025). Case-aggregated. citation.
2.9M
total files
1.5M
first seen 2021–2025 (50.3%)
2021
median year (half its files since)
Case variants in archive: .diff (2.9M), .DIFF (441), .Diff (395) — aggregated above.
Attribution status
This extension is attributed to diff as primary by 2 authoritative claims.
Claimants (4)
Languages that list
.diff among their extensions. Strength reflects whether the upstream source treated it as their primary extension.| Language | Source | Strength |
|---|---|---|
| diff | linguist | primary |
| diff | pygments | primary |
| diff | wikidata | secondary |
| patch | wikidata | secondary |
Wikidata says… (3)
File formats, image formats, audio codecs and other non-PL
entities that claim
.diff on Wikidata
(property P1195) or in the Wikipedia infobox.
Source: data/derived/external_extension_index.csv.
Click Use as new PL on any row to open the
Add-PL form pre-filled with that entry's name, Wikipedia/Wikidata
URL, and this extension — one submission creates the PL + claim.
| Format | Class (Wikidata P31) | Suggested label | MIME | Notes | Action |
|---|---|---|---|---|---|
| diff Q28600496 file formats associated with Unix diff utility | file format | — | text/x-patch | — | Use as new PL ↗ |
| unified diff Q29465391 file format | patch format | — | — | — | Use as new PL ↗ |
| Magic Lantern DIFF animation Q105855898 file format | file format | — | application/octet-stream | — | Use as new PL ↗ |
SWH-mined examples (0)
No archived examples for .diff in our local mirror yet.