1$ git diff --raw --abbrev=4 initial 2:100644 100644 35d2... 9929... M dir/sub 3:100644 100644 01e7... 10a8... M file0 4:000000 100644 0000... b1e6... A file1 5:100644 000000 01e7... 0000... D file2 6$
$ 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
$