t / t4013 / diff.log_-p_masteron commit untracked-cache: be defensive about missing NULs in index (c6909f9)
   1$ git log -p master
   2commit 59d314ad6f356dd08601a4cd5e530381da3e3c64
   3Merge: 9a6d494 c7a2ab9
   4Author: A U Thor <author@example.com>
   5Date:   Mon Jun 26 00:04:00 2006 +0000
   6
   7    Merge branch 'side'
   8
   9commit c7a2ab9e8eac7b117442a607d5a9b3950ae34d5a
  10Author: A U Thor <author@example.com>
  11Date:   Mon Jun 26 00:03:00 2006 +0000
  12
  13    Side
  14
  15diff --git a/dir/sub b/dir/sub
  16index 35d242b..7289e35 100644
  17--- a/dir/sub
  18+++ b/dir/sub
  19@@ -1,2 +1,4 @@
  20 A
  21 B
  22+1
  23+2
  24diff --git a/file0 b/file0
  25index 01e79c3..f4615da 100644
  26--- a/file0
  27+++ b/file0
  28@@ -1,3 +1,6 @@
  29 1
  30 2
  31 3
  32+A
  33+B
  34+C
  35diff --git a/file3 b/file3
  36new file mode 100644
  37index 0000000..7289e35
  38--- /dev/null
  39+++ b/file3
  40@@ -0,0 +1,4 @@
  41+A
  42+B
  43+1
  44+2
  45
  46commit 9a6d4949b6b76956d9d5e26f2791ec2ceff5fdc0
  47Author: A U Thor <author@example.com>
  48Date:   Mon Jun 26 00:02:00 2006 +0000
  49
  50    Third
  51
  52diff --git a/dir/sub b/dir/sub
  53index 8422d40..cead32e 100644
  54--- a/dir/sub
  55+++ b/dir/sub
  56@@ -2,3 +2,5 @@ A
  57 B
  58 C
  59 D
  60+E
  61+F
  62diff --git a/file1 b/file1
  63new file mode 100644
  64index 0000000..b1e6722
  65--- /dev/null
  66+++ b/file1
  67@@ -0,0 +1,3 @@
  68+A
  69+B
  70+C
  71
  72commit 1bde4ae5f36c8d9abe3a0fce0c6aab3c4a12fe44
  73Author: A U Thor <author@example.com>
  74Date:   Mon Jun 26 00:01:00 2006 +0000
  75
  76    Second
  77    
  78    This is the second commit.
  79
  80diff --git a/dir/sub b/dir/sub
  81index 35d242b..8422d40 100644
  82--- a/dir/sub
  83+++ b/dir/sub
  84@@ -1,2 +1,4 @@
  85 A
  86 B
  87+C
  88+D
  89diff --git a/file0 b/file0
  90index 01e79c3..b414108 100644
  91--- a/file0
  92+++ b/file0
  93@@ -1,3 +1,6 @@
  94 1
  95 2
  96 3
  97+4
  98+5
  99+6
 100diff --git a/file2 b/file2
 101deleted file mode 100644
 102index 01e79c3..0000000
 103--- a/file2
 104+++ /dev/null
 105@@ -1,3 +0,0 @@
 106-1
 107-2
 108-3
 109
 110commit 444ac553ac7612cc88969031b02b3767fb8a353a
 111Author: A U Thor <author@example.com>
 112Date:   Mon Jun 26 00:00:00 2006 +0000
 113
 114    Initial
 115$