$ git diff --raw --abbrev=4 initial
:100644 100644 35d2 9929 M dir/sub
:100644 100644 01e7 10a8 M file0
:000000 100644 0000 b1e6 A file1
:100644 000000 01e7 0000 D file2
$