about summary refs log tree commit diff
path: root/third_party/git/t/t5100/patch0011
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/git/t/t5100/patch0011')
-rw-r--r--third_party/git/t/t5100/patch001122
1 files changed, 22 insertions, 0 deletions
diff --git a/third_party/git/t/t5100/patch0011 b/third_party/git/t/t5100/patch0011
new file mode 100644
index 0000000000..0988713761
--- /dev/null
+++ b/third_party/git/t/t5100/patch0011
@@ -0,0 +1,22 @@
+---
+ builtin-mailinfo.c  | 4 ++--
+
+diff --git a/builtin-mailinfo.c b/builtin-mailinfo.c
+index 3e5fe51..aabfe5c 100644
+--- a/builtin-mailinfo.c
++++ b/builtin-mailinfo.c
+@@ -758,8 +758,8 @@ static void handle_body(void)
+ 		/* process any boundary lines */
+ 		if (*content_top && is_multipart_boundary(&line)) {
+ 			/* flush any leftover */
+-			if (line.len)
+-				handle_filter(&line);
++			if (prev.len)
++				handle_filter(&prev);
+ 
+ 			if (!handle_boundary())
+ 				goto handle_body_out;
+-- 
+1.6.0.rc2
+
+