mirror of
https://github.com/balena-io/etcher.git
synced 2025-07-21 10:16:32 +00:00
chore(gitattributes): Add "hex" diff tag to binary files (#1367)
This adds a `diff` tag to binary files in `.gitattributes`, enabling git to use an external tool to generate diffable output for binary files by adding a handler to the local or global git config, i.e: ``` [diff "hex"] textconv = hexdump binary = true ``` Change-Type: patch
This commit is contained in:
parent
becca2d05e
commit
0c79c492e2
22
.gitattributes
vendored
22
.gitattributes
vendored
@ -22,14 +22,14 @@ Makefile text
|
|||||||
*.yml text
|
*.yml text
|
||||||
|
|
||||||
# Binary files (no line-ending conversions)
|
# Binary files (no line-ending conversions)
|
||||||
*.bz2 binary
|
*.bz2 binary diff=hex
|
||||||
*.gz binary
|
*.gz binary diff=hex
|
||||||
*.icns binary
|
*.icns binary diff=hex
|
||||||
*.ico binary
|
*.ico binary diff=hex
|
||||||
*.img binary
|
*.img binary diff=hex
|
||||||
*.iso binary
|
*.iso binary diff=hex
|
||||||
*.png binary
|
*.png binary diff=hex
|
||||||
*.xz binary
|
*.xz binary diff=hex
|
||||||
*.zip binary
|
*.zip binary diff=hex
|
||||||
*.dmg binary
|
*.dmg binary diff=hex
|
||||||
*.rpi-sdcard binary
|
*.rpi-sdcard binary diff=hex
|
||||||
|
Loading…
x
Reference in New Issue
Block a user