1 $ git whatchanged --root --patch-with-stat --summary master
 
   2 commit c7a2ab9e8eac7b117442a607d5a9b3950ae34d5a
 
   3 Author: A U Thor <author@example.com>
 
   4 Date:   Mon Jun 26 00:03:00 2006 +0000
 
  11  3 files changed, 9 insertions(+)
 
  12  create mode 100644 file3
 
  14 diff --git a/dir/sub b/dir/sub
 
  15 index 35d242b..7289e35 100644
 
  23 diff --git a/file0 b/file0
 
  24 index 01e79c3..f4615da 100644
 
  34 diff --git a/file3 b/file3
 
  36 index 0000000..7289e35
 
  45 commit 9a6d4949b6b76956d9d5e26f2791ec2ceff5fdc0
 
  46 Author: A U Thor <author@example.com>
 
  47 Date:   Mon Jun 26 00:02:00 2006 +0000
 
  53  2 files changed, 5 insertions(+)
 
  54  create mode 100644 file1
 
  56 diff --git a/dir/sub b/dir/sub
 
  57 index 8422d40..cead32e 100644
 
  66 diff --git a/file1 b/file1
 
  68 index 0000000..b1e6722
 
  76 commit 1bde4ae5f36c8d9abe3a0fce0c6aab3c4a12fe44
 
  77 Author: A U Thor <author@example.com>
 
  78 Date:   Mon Jun 26 00:01:00 2006 +0000
 
  82     This is the second commit.
 
  87  3 files changed, 5 insertions(+), 3 deletions(-)
 
  88  delete mode 100644 file2
 
  90 diff --git a/dir/sub b/dir/sub
 
  91 index 35d242b..8422d40 100644
 
  99 diff --git a/file0 b/file0
 
 100 index 01e79c3..b414108 100644
 
 110 diff --git a/file2 b/file2
 
 111 deleted file mode 100644
 
 112 index 01e79c3..0000000
 
 120 commit 444ac553ac7612cc88969031b02b3767fb8a353a
 
 121 Author: A U Thor <author@example.com>
 
 122 Date:   Mon Jun 26 00:00:00 2006 +0000
 
 129  3 files changed, 8 insertions(+)
 
 130  create mode 100644 dir/sub
 
 131  create mode 100644 file0
 
 132  create mode 100644 file2
 
 134 diff --git a/dir/sub b/dir/sub
 
 136 index 0000000..35d242b
 
 142 diff --git a/file0 b/file0
 
 144 index 0000000..01e79c3
 
 151 diff --git a/file2 b/file2
 
 153 index 0000000..01e79c3