1$ git diff --raw initial 2:100644 100644 35d242b 992913c M dir/sub 3:100644 100644 01e79c3 10a8a9f M file0 4:000000 100644 0000000 b1e6722 A file1 5:100644 000000 01e79c3 0000000 D file2 6$
$ git diff --raw initial
:100644 100644 35d242b 992913c M dir/sub
:100644 100644 01e79c3 10a8a9f M file0
:000000 100644 0000000 b1e6722 A file1
:100644 000000 01e79c3 0000000 D file2
$