t / t4013 / diff.log_--root_--patch-with-stat_--summary_masteron commit tests: grep portability fixes (8753941)
   1$ git log --root --patch-with-stat --summary 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---
  15 dir/sub |    2 ++
  16 file0   |    3 +++
  17 file3   |    4 ++++
  18 3 files changed, 9 insertions(+), 0 deletions(-)
  19 create mode 100644 file3
  20
  21diff --git a/dir/sub b/dir/sub
  22index 35d242b..7289e35 100644
  23--- a/dir/sub
  24+++ b/dir/sub
  25@@ -1,2 +1,4 @@
  26 A
  27 B
  28+1
  29+2
  30diff --git a/file0 b/file0
  31index 01e79c3..f4615da 100644
  32--- a/file0
  33+++ b/file0
  34@@ -1,3 +1,6 @@
  35 1
  36 2
  37 3
  38+A
  39+B
  40+C
  41diff --git a/file3 b/file3
  42new file mode 100644
  43index 0000000..7289e35
  44--- /dev/null
  45+++ b/file3
  46@@ -0,0 +1,4 @@
  47+A
  48+B
  49+1
  50+2
  51
  52commit 9a6d4949b6b76956d9d5e26f2791ec2ceff5fdc0
  53Author: A U Thor <author@example.com>
  54Date:   Mon Jun 26 00:02:00 2006 +0000
  55
  56    Third
  57---
  58 dir/sub |    2 ++
  59 file1   |    3 +++
  60 2 files changed, 5 insertions(+), 0 deletions(-)
  61 create mode 100644 file1
  62
  63diff --git a/dir/sub b/dir/sub
  64index 8422d40..cead32e 100644
  65--- a/dir/sub
  66+++ b/dir/sub
  67@@ -2,3 +2,5 @@ A
  68 B
  69 C
  70 D
  71+E
  72+F
  73diff --git a/file1 b/file1
  74new file mode 100644
  75index 0000000..b1e6722
  76--- /dev/null
  77+++ b/file1
  78@@ -0,0 +1,3 @@
  79+A
  80+B
  81+C
  82
  83commit 1bde4ae5f36c8d9abe3a0fce0c6aab3c4a12fe44
  84Author: A U Thor <author@example.com>
  85Date:   Mon Jun 26 00:01:00 2006 +0000
  86
  87    Second
  88    
  89    This is the second commit.
  90---
  91 dir/sub |    2 ++
  92 file0   |    3 +++
  93 file2   |    3 ---
  94 3 files changed, 5 insertions(+), 3 deletions(-)
  95 delete mode 100644 file2
  96
  97diff --git a/dir/sub b/dir/sub
  98index 35d242b..8422d40 100644
  99--- a/dir/sub
 100+++ b/dir/sub
 101@@ -1,2 +1,4 @@
 102 A
 103 B
 104+C
 105+D
 106diff --git a/file0 b/file0
 107index 01e79c3..b414108 100644
 108--- a/file0
 109+++ b/file0
 110@@ -1,3 +1,6 @@
 111 1
 112 2
 113 3
 114+4
 115+5
 116+6
 117diff --git a/file2 b/file2
 118deleted file mode 100644
 119index 01e79c3..0000000
 120--- a/file2
 121+++ /dev/null
 122@@ -1,3 +0,0 @@
 123-1
 124-2
 125-3
 126
 127commit 444ac553ac7612cc88969031b02b3767fb8a353a
 128Author: A U Thor <author@example.com>
 129Date:   Mon Jun 26 00:00:00 2006 +0000
 130
 131    Initial
 132---
 133 dir/sub |    2 ++
 134 file0   |    3 +++
 135 file2   |    3 +++
 136 3 files changed, 8 insertions(+), 0 deletions(-)
 137 create mode 100644 dir/sub
 138 create mode 100644 file0
 139 create mode 100644 file2
 140
 141diff --git a/dir/sub b/dir/sub
 142new file mode 100644
 143index 0000000..35d242b
 144--- /dev/null
 145+++ b/dir/sub
 146@@ -0,0 +1,2 @@
 147+A
 148+B
 149diff --git a/file0 b/file0
 150new file mode 100644
 151index 0000000..01e79c3
 152--- /dev/null
 153+++ b/file0
 154@@ -0,0 +1,3 @@
 155+1
 156+2
 157+3
 158diff --git a/file2 b/file2
 159new file mode 100644
 160index 0000000..01e79c3
 161--- /dev/null
 162+++ b/file2
 163@@ -0,0 +1,3 @@
 164+1
 165+2
 166+3
 167$