140140 expect=" $TEST_DIRECTORY /t4013/diff.$test "
141141 actual=" $pfx -diff.$test "
142142
143- test_expect_success " git $cmd " '
143+ test_expect_success " git $cmd # magic is ${magic :- " (not used) " } " '
144144 {
145145 echo "$ git $cmd"
146146 case "$magic" in
@@ -175,9 +175,12 @@ diff-tree -r --abbrev initial
175175diff-tree -r --abbrev=4 initial
176176diff-tree --root initial
177177diff-tree --root --abbrev initial
178+ :noellipses diff-tree --root --abbrev initial
178179diff-tree --root -r initial
179180diff-tree --root -r --abbrev initial
181+ :noellipses diff-tree --root -r --abbrev initial
180182diff-tree --root -r --abbrev=4 initial
183+ :noellipses diff-tree --root -r --abbrev=4 initial
181184diff-tree -p initial
182185diff-tree --root -p initial
183186diff-tree --patch-with-stat initial
@@ -226,6 +229,7 @@ diff-tree -p master
226229diff-tree -p -m master
227230diff-tree -c master
228231diff-tree -c --abbrev master
232+ :noellipses diff-tree -c --abbrev master
229233diff-tree --cc master
230234# stat only should show the diffstat with the first parent
231235diff-tree -c --stat master
@@ -272,8 +276,10 @@ rev-list --parents HEAD
272276rev-list --children HEAD
273277
274278whatchanged master
279+ :noellipses whatchanged master
275280whatchanged -p master
276281whatchanged --root master
282+ :noellipses whatchanged --root master
277283whatchanged --root -p master
278284whatchanged --patch-with-stat master
279285whatchanged --root --patch-with-stat master
@@ -283,6 +289,7 @@ whatchanged --root -c --patch-with-stat --summary master
283289# improved by Timo's patch
284290whatchanged --root --cc --patch-with-stat --summary master
285291whatchanged -SF master
292+ :noellipses whatchanged -SF master
286293whatchanged -SF -p master
287294
288295log --patch-with-stat master -- dir/
@@ -301,6 +308,7 @@ show --stat side
301308show --stat --summary side
302309show --patch-with-stat side
303310show --patch-with-raw side
311+ :noellipses show --patch-with-raw side
304312show --patch-with-stat --summary side
305313
306314format-patch --stdout initial..side
@@ -328,8 +336,10 @@ diff -r --stat initial..side
328336diff initial..side
329337diff --patch-with-stat initial..side
330338diff --patch-with-raw initial..side
339+ :noellipses diff --patch-with-raw initial..side
331340diff --patch-with-stat -r initial..side
332341diff --patch-with-raw -r initial..side
342+ :noellipses diff --patch-with-raw -r initial..side
333343diff --name-status dir2 dir
334344diff --no-index --name-status dir2 dir
335345diff --no-index --name-status -- dir2 dir
@@ -342,10 +352,14 @@ diff --dirstat initial rearrange
342352diff --dirstat-by-file initial rearrange
343353# No-index --abbrev and --no-abbrev
344354diff --raw initial
355+ :noellipses diff --raw initial
345356diff --raw --abbrev=4 initial
357+ :noellipses diff --raw --abbrev=4 initial
346358diff --raw --no-abbrev initial
347359diff --no-index --raw dir2 dir
360+ :noellipses diff --no-index --raw dir2 dir
348361diff --no-index --raw --abbrev=4 dir2 dir
362+ :noellipses diff --no-index --raw --abbrev=4 dir2 dir
349363diff --no-index --raw --no-abbrev dir2 dir
350364EOF
351365
0 commit comments