summaryrefslogtreecommitdiff
path: root/t/t4013/diff.diff-tree_--cc_--patch-with-stat_--summary_main
diff options
context:
space:
mode:
authorPhillip Wood <phillip.wood@dunelm.org.uk>2025-09-10 16:29:01 +0100
committerJunio C Hamano <gitster@pobox.com>2025-09-10 13:34:59 -0700
commit877176e0b01ea6aff551fa80734116a45748c6a3 (patch)
tree05fa1f7538b937d4321f309332f70cee4ac0f457 /t/t4013/diff.diff-tree_--cc_--patch-with-stat_--summary_main
parent67d9b39cc711468c381f070e241211895fe97136 (diff)
t4013: switch default branch name to main
Remove one of the last remaining uses of "TEST_GIT_DEFAULT_INITIAL_BRANCH= main" in the test suite. We have been steadily be converting tests from using "master" as the default branch name since the introduction of TEST_GIT_DEFAULT_INITIAL_BRANCH in 704fed9ea22 (tests: start moving to a different default main branch name, 2020-10-23) The changes here are purely mechanical replacing "master" with "main" Signed-off-by: Phillip Wood <phillip.wood@dunelm.org.uk> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4013/diff.diff-tree_--cc_--patch-with-stat_--summary_main')
-rw-r--r--t/t4013/diff.diff-tree_--cc_--patch-with-stat_--summary_main34
1 files changed, 34 insertions, 0 deletions
diff --git a/t/t4013/diff.diff-tree_--cc_--patch-with-stat_--summary_main b/t/t4013/diff.diff-tree_--cc_--patch-with-stat_--summary_main
new file mode 100644
index 0000000000..af1cf20f4c
--- /dev/null
+++ b/t/t4013/diff.diff-tree_--cc_--patch-with-stat_--summary_main
@@ -0,0 +1,34 @@
+$ git diff-tree --cc --patch-with-stat --summary main
+59d314ad6f356dd08601a4cd5e530381da3e3c64
+ dir/sub | 2 ++
+ file0 | 3 +++
+ 2 files changed, 5 insertions(+)
+
+diff --cc dir/sub
+index cead32e,7289e35..992913c
+--- a/dir/sub
++++ b/dir/sub
+@@@ -1,6 -1,4 +1,8 @@@
+ A
+ B
+ +C
+ +D
+ +E
+ +F
++ 1
++ 2
+diff --cc file0
+index b414108,f4615da..10a8a9f
+--- a/file0
++++ b/file0
+@@@ -1,6 -1,6 +1,9 @@@
+ 1
+ 2
+ 3
+ +4
+ +5
+ +6
++ A
++ B
++ C
+$