mirror of
https://github.com/git/git.git
synced 2024-11-28 20:44:04 +08:00
a40d384cac
This changes one test commit in the sequence to have more than one lines of commit log. A few output formats (--pretty=email aka format-patch and --pretty=oneline) need to behave differently on single and multi-line log, and this change will help catching breakages. Signed-off-by: Junio C Hamano <junkio@cox.net>
35 lines
441 B
Plaintext
35 lines
441 B
Plaintext
$ git diff-tree --cc --patch-with-stat master
|
|
59d314ad6f356dd08601a4cd5e530381da3e3c64
|
|
dir/sub | 2 ++
|
|
file0 | 3 +++
|
|
2 files changed, 5 insertions(+), 0 deletions(-)
|
|
|
|
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
|
|
$
|