Code

GIT 1.5.5.6
[git.git] / t / t4013 / diff.format-patch_--stdout_--cover-letter_-n_initial..master^
1 $ git format-patch --stdout --cover-letter -n initial..master^
2 From 9a6d4949b6b76956d9d5e26f2791ec2ceff5fdc0 Mon Sep 17 00:00:00 2001
3 From: C O Mitter <committer@example.com>
4 Date: Mon, 26 Jun 2006 00:05:00 +0000
5 Subject: [DIFFERENT_PREFIX 0/2] *** SUBJECT HERE ***
7 *** BLURB HERE ***
9 A U Thor (2):
10   Second
11   Third
13  dir/sub |    4 ++++
14  file0   |    3 +++
15  file1   |    3 +++
16  file2   |    3 ---
17  4 files changed, 10 insertions(+), 3 deletions(-)
18  create mode 100644 file1
19  delete mode 100644 file2
21 From 1bde4ae5f36c8d9abe3a0fce0c6aab3c4a12fe44 Mon Sep 17 00:00:00 2001
22 From: A U Thor <author@example.com>
23 Date: Mon, 26 Jun 2006 00:01:00 +0000
24 Subject: [DIFFERENT_PREFIX 1/2] Second
26 This is the second commit.
27 ---
28  dir/sub |    2 ++
29  file0   |    3 +++
30  file2   |    3 ---
31  3 files changed, 5 insertions(+), 3 deletions(-)
32  delete mode 100644 file2
34 diff --git a/dir/sub b/dir/sub
35 index 35d242b..8422d40 100644
36 --- a/dir/sub
37 +++ b/dir/sub
38 @@ -1,2 +1,4 @@
39  A
40  B
41 +C
42 +D
43 diff --git a/file0 b/file0
44 index 01e79c3..b414108 100644
45 --- a/file0
46 +++ b/file0
47 @@ -1,3 +1,6 @@
48  1
49  2
50  3
51 +4
52 +5
53 +6
54 diff --git a/file2 b/file2
55 deleted file mode 100644
56 index 01e79c3..0000000
57 --- a/file2
58 +++ /dev/null
59 @@ -1,3 +0,0 @@
60 -1
61 -2
62 -3
63 -- 
64 g-i-t--v-e-r-s-i-o-n
67 From 9a6d4949b6b76956d9d5e26f2791ec2ceff5fdc0 Mon Sep 17 00:00:00 2001
68 From: A U Thor <author@example.com>
69 Date: Mon, 26 Jun 2006 00:02:00 +0000
70 Subject: [DIFFERENT_PREFIX 2/2] Third
72 ---
73  dir/sub |    2 ++
74  file1   |    3 +++
75  2 files changed, 5 insertions(+), 0 deletions(-)
76  create mode 100644 file1
78 diff --git a/dir/sub b/dir/sub
79 index 8422d40..cead32e 100644
80 --- a/dir/sub
81 +++ b/dir/sub
82 @@ -2,3 +2,5 @@ A
83  B
84  C
85  D
86 +E
87 +F
88 diff --git a/file1 b/file1
89 new file mode 100644
90 index 0000000..b1e6722
91 --- /dev/null
92 +++ b/file1
93 @@ -0,0 +1,3 @@
94 +A
95 +B
96 +C
97 -- 
98 g-i-t--v-e-r-s-i-o-n