archive: handle commits with an empty tree
[git/jnareb-git.git] / t / t4013 / diff.diff-tree_--pretty=oneline_--root_-p_initial
blob3c5092c6993f454dc7392a3846b93cc3fa47f7e5
1 $ git diff-tree --pretty=oneline --root -p initial
2 444ac553ac7612cc88969031b02b3767fb8a353a Initial
3 diff --git a/dir/sub b/dir/sub
4 new file mode 100644
5 index 0000000..35d242b
6 --- /dev/null
7 +++ b/dir/sub
8 @@ -0,0 +1,2 @@
9 +A
11 diff --git a/file0 b/file0
12 new file mode 100644
13 index 0000000..01e79c3
14 --- /dev/null
15 +++ b/file0
16 @@ -0,0 +1,3 @@
20 diff --git a/file2 b/file2
21 new file mode 100644
22 index 0000000..01e79c3
23 --- /dev/null
24 +++ b/file2
25 @@ -0,0 +1,3 @@