summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitattributes10
-rw-r--r--INSTALL.md3
2 files changed, 13 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
index 63c2cad28..cb0117340 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1,2 +1,12 @@
# No monkey business with line endings
* -text
+
+# hexdump binary files
+*.png diff=hex
+*.lz diff=hex
+*.2bpp diff=hex
+*.1bpp diff=hex
+*.pal diff=hex
+*.bin diff=hex
+*.blk diff=hex
+
diff --git a/INSTALL.md b/INSTALL.md
index 7060b5e20..0443412f0 100644
--- a/INSTALL.md
+++ b/INSTALL.md
@@ -41,6 +41,9 @@ cd pokecrystal
# install python requirements
pip install -r requirements.txt
+
+# use hexdump to diff binary files
+git config diff.hex.textconv hexdump
```
To compile the ROM from ASM source: