From eab37ef9200e79fd6b97588c784835a74d53c901 Mon Sep 17 00:00:00 2001 From: yenatch Date: Thu, 13 Jun 2013 14:23:03 -0400 Subject: [PATCH] hexdump for binary diffs those with an existing repo should run: git config diff.hex.textconv hexdump --- .gitattributes | 10 ++++++++++ INSTALL.md | 3 +++ 2 files changed, 13 insertions(+) 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: