@@ -163,15 +163,34 @@ diff-tree -p -m master
163163diff-tree -c master
164164diff-tree -c --abbrev master
165165diff-tree --cc master
166+ # stat only should show the diffstat with the first parent
167+ diff-tree -c --stat master
168+ diff-tree --cc --stat master
169+ diff-tree -c --stat --summary master
170+ diff-tree --cc --stat --summary master
171+ # stat summary should show the diffstat and summary with the first parent
172+ diff-tree -c --stat --summary side
173+ diff-tree --cc --stat --summary side
174+ # this one gives an extra newline after stat, which should be removed
175+ # diff-tree --cc --patch-with-stat master
176+ # this one gives an extra newline after stat, which should be removed
177+ # other than that it shows the correct example -- stat and summary are
178+ # against the first parent, and patch-looking combined diff follows.
179+ diff-tree --cc --patch-with-stat --summary master
180+ # this is correct
181+ diff-tree --cc --patch-with-stat --summary side
166182
167183log master
168184log -p master
169185log --root master
170186log --root -p master
171187log --patch-with-stat master
172188log --root --patch-with-stat master
173- #log --root --patch-with-stat --summary master
189+ log --root --patch-with-stat --summary master
190+ log --root -c --patch-with-stat --summary master
191+ log --root --cc --patch-with-stat --summary master
174192log -SF master
193+ log -SF -p master
175194
176195whatchanged master
177196whatchanged -p master
@@ -180,10 +199,15 @@ whatchanged --root -p master
180199whatchanged --patch-with-stat master
181200whatchanged --root --patch-with-stat master
182201whatchanged --root --patch-with-stat --summary master
202+ whatchanged --root -c --patch-with-stat --summary master
203+ whatchanged --root --cc --patch-with-stat --summary master
183204whatchanged -SF master
205+ whatchanged -SF -p master
184206
185207log --patch-with-stat master -- dir/
186208whatchanged --patch-with-stat master -- dir/
209+ log --patch-with-stat --summary master -- dir/
210+ whatchanged --patch-with-stat --summary master -- dir/
187211
188212show initial
189213show --root initial
@@ -195,8 +219,6 @@ show --patch-with-stat side
195219show --patch-with-raw side
196220show --patch-with-stat --summary side
197221
198-
199-
200222EOF
201223
202224test_done
0 commit comments