shithub: pokecrystal

Download patch

ref: eab37ef9200e79fd6b97588c784835a74d53c901
parent: a923bf768ae2307d2ed2bc289c98e07a8de77084
author: yenatch <[email protected]>
date: Thu Jun 13 10:23:03 EDT 2013

hexdump for binary diffs

those with an existing repo should run:

git config diff.hex.textconv hexdump

--- 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
+
--- a/INSTALL.md
+++ b/INSTALL.md
@@ -41,6 +41,9 @@
 
 # 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: