t / t4013 / diff.diff-tree_--root_--patch-with-stat_initialon commit untracked-cache: be defensive about missing NULs in index (c6909f9)
   1$ git diff-tree --root --patch-with-stat initial
   2444ac553ac7612cc88969031b02b3767fb8a353a
   3 dir/sub | 2 ++
   4 file0   | 3 +++
   5 file2   | 3 +++
   6 3 files changed, 8 insertions(+)
   7
   8diff --git a/dir/sub b/dir/sub
   9new file mode 100644
  10index 0000000..35d242b
  11--- /dev/null
  12+++ b/dir/sub
  13@@ -0,0 +1,2 @@
  14+A
  15+B
  16diff --git a/file0 b/file0
  17new file mode 100644
  18index 0000000..01e79c3
  19--- /dev/null
  20+++ b/file0
  21@@ -0,0 +1,3 @@
  22+1
  23+2
  24+3
  25diff --git a/file2 b/file2
  26new file mode 100644
  27index 0000000..01e79c3
  28--- /dev/null
  29+++ b/file2
  30@@ -0,0 +1,3 @@
  31+1
  32+2
  33+3
  34$