t / t4013 / diff.show_--patch-with-stat_sideon commit untracked-cache: be defensive about missing NULs in index (c6909f9)
   1$ git show --patch-with-stat side
   2commit c7a2ab9e8eac7b117442a607d5a9b3950ae34d5a
   3Author: A U Thor <author@example.com>
   4Date:   Mon Jun 26 00:03:00 2006 +0000
   5
   6    Side
   7---
   8 dir/sub | 2 ++
   9 file0   | 3 +++
  10 file3   | 4 ++++
  11 3 files changed, 9 insertions(+)
  12
  13diff --git a/dir/sub b/dir/sub
  14index 35d242b..7289e35 100644
  15--- a/dir/sub
  16+++ b/dir/sub
  17@@ -1,2 +1,4 @@
  18 A
  19 B
  20+1
  21+2
  22diff --git a/file0 b/file0
  23index 01e79c3..f4615da 100644
  24--- a/file0
  25+++ b/file0
  26@@ -1,3 +1,6 @@
  27 1
  28 2
  29 3
  30+A
  31+B
  32+C
  33diff --git a/file3 b/file3
  34new file mode 100644
  35index 0000000..7289e35
  36--- /dev/null
  37+++ b/file3
  38@@ -0,0 +1,4 @@
  39+A
  40+B
  41+1
  42+2
  43$