1$ git diff-tree --pretty --root --patch-with-stat initial
2commit 444ac553ac7612cc88969031b02b3767fb8a353a
3Author: A U Thor <author@example.com>
4Date: Mon Jun 26 00:00:00 2006 +0000
5
6 Initial
7---
8 dir/sub | 2 ++
9 file0 | 3 +++
10 file2 | 3 +++
11 3 files changed, 8 insertions(+)
12
13diff --git a/dir/sub b/dir/sub
14new file mode 100644
15index 0000000..35d242b
16--- /dev/null
17+++ b/dir/sub
18@@ -0,0 +1,2 @@
19+A
20+B
21diff --git a/file0 b/file0
22new file mode 100644
23index 0000000..01e79c3
24--- /dev/null
25+++ b/file0
26@@ -0,0 +1,3 @@
27+1
28+2
29+3
30diff --git a/file2 b/file2
31new file mode 100644
32index 0000000..01e79c3
33--- /dev/null
34+++ b/file2
35@@ -0,0 +1,3 @@
36+1
37+2
38+3
39$