03d0f9693c08167c5f8ca5d84a69c55ee134cd96
[git/git.git] / t / t4013 / diff.format-patch_--stdout_initial..master^
1 $ git format-patch --stdout initial..master^
2 From 1bde4ae5f36c8d9abe3a0fce0c6aab3c4a12fe44 Mon Sep 17 00:00:00 2001
3 From: A U Thor <author@example.com>
4 Date: Mon, 26 Jun 2006 00:01:00 +0000
5 Subject: [PATCH] Second
6
7 This is the second commit.
8 ---
9 dir/sub | 2 ++
10 file0 | 3 +++
11 file2 | 3 ---
12 3 files changed, 5 insertions(+), 3 deletions(-)
13
14 diff --git a/dir/sub b/dir/sub
15 index 35d242b..8422d40 100644
16 --- a/dir/sub
17 +++ b/dir/sub
18 @@ -1,2 +1,4 @@
19 A
20 B
21 +C
22 +D
23 diff --git a/file0 b/file0
24 index 01e79c3..b414108 100644
25 --- a/file0
26 +++ b/file0
27 @@ -1,3 +1,6 @@
28 1
29 2
30 3
31 +4
32 +5
33 +6
34 diff --git a/file2 b/file2
35 deleted file mode 100644
36 index 01e79c3..0000000
37 --- a/file2
38 +++ /dev/null
39 @@ -1,3 +0,0 @@
40 -1
41 -2
42 -3
43 --
44 g-i-t--v-e-r-s-i-o-n
45
46
47 From 9a6d4949b6b76956d9d5e26f2791ec2ceff5fdc0 Mon Sep 17 00:00:00 2001
48 From: A U Thor <author@example.com>
49 Date: Mon, 26 Jun 2006 00:02:00 +0000
50 Subject: [PATCH] Third
51
52 ---
53 dir/sub | 2 ++
54 file1 | 3 +++
55 2 files changed, 5 insertions(+), 0 deletions(-)
56
57 diff --git a/dir/sub b/dir/sub
58 index 8422d40..cead32e 100644
59 --- a/dir/sub
60 +++ b/dir/sub
61 @@ -2,3 +2,5 @@ A
62 B
63 C
64 D
65 +E
66 +F
67 diff --git a/file1 b/file1
68 new file mode 100644
69 index 0000000..b1e6722
70 --- /dev/null
71 +++ b/file1
72 @@ -0,0 +1,3 @@
73 +A
74 +B
75 +C
76 --
77 g-i-t--v-e-r-s-i-o-n
78
79 $