Adam Roben | dbd2144 | 2007-07-01 17:48:59 -0700 | [diff] [blame] | 1 | $ git format-patch --inline --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: [DIFFERENT_PREFIX] Second |
| 6 | MIME-Version: 1.0 |
| 7 | Content-Type: multipart/mixed; boundary="------------g-i-t--v-e-r-s-i-o-n" |
| 8 | |
| 9 | This is a multi-part message in MIME format. |
| 10 | --------------g-i-t--v-e-r-s-i-o-n |
| 11 | Content-Type: text/plain; charset=UTF-8; format=fixed |
| 12 | Content-Transfer-Encoding: 8bit |
| 13 | |
| 14 | |
| 15 | This is the second commit. |
| 16 | --- |
Zbigniew Jędrzejewski-Szmek | dc801e7 | 2012-04-30 22:38:58 +0200 | [diff] [blame] | 17 | dir/sub | 2 ++ |
| 18 | file0 | 3 +++ |
| 19 | file2 | 3 --- |
Adam Roben | dbd2144 | 2007-07-01 17:48:59 -0700 | [diff] [blame] | 20 | 3 files changed, 5 insertions(+), 3 deletions(-) |
| 21 | delete mode 100644 file2 |
Kevin Ballard | 6b2fbaa | 2008-07-29 22:49:33 -0700 | [diff] [blame] | 22 | |
| 23 | |
Adam Roben | dbd2144 | 2007-07-01 17:48:59 -0700 | [diff] [blame] | 24 | --------------g-i-t--v-e-r-s-i-o-n |
Stephen Boyd | 108dab2 | 2009-03-22 19:14:05 -0700 | [diff] [blame] | 25 | Content-Type: text/x-patch; name="0001-Second.patch" |
Adam Roben | dbd2144 | 2007-07-01 17:48:59 -0700 | [diff] [blame] | 26 | Content-Transfer-Encoding: 8bit |
Stephen Boyd | 108dab2 | 2009-03-22 19:14:05 -0700 | [diff] [blame] | 27 | Content-Disposition: inline; filename="0001-Second.patch" |
Adam Roben | dbd2144 | 2007-07-01 17:48:59 -0700 | [diff] [blame] | 28 | |
| 29 | diff --git a/dir/sub b/dir/sub |
| 30 | index 35d242b..8422d40 100644 |
| 31 | --- a/dir/sub |
| 32 | +++ b/dir/sub |
| 33 | @@ -1,2 +1,4 @@ |
| 34 | A |
| 35 | B |
| 36 | +C |
| 37 | +D |
| 38 | diff --git a/file0 b/file0 |
| 39 | index 01e79c3..b414108 100644 |
| 40 | --- a/file0 |
| 41 | +++ b/file0 |
| 42 | @@ -1,3 +1,6 @@ |
| 43 | 1 |
| 44 | 2 |
| 45 | 3 |
| 46 | +4 |
| 47 | +5 |
| 48 | +6 |
| 49 | diff --git a/file2 b/file2 |
| 50 | deleted file mode 100644 |
| 51 | index 01e79c3..0000000 |
| 52 | --- a/file2 |
| 53 | +++ /dev/null |
| 54 | @@ -1,3 +0,0 @@ |
| 55 | -1 |
| 56 | -2 |
| 57 | -3 |
| 58 | |
| 59 | --------------g-i-t--v-e-r-s-i-o-n-- |
| 60 | |
| 61 | |
| 62 | $ |