git-cherry: make <upstream> parameter optional
[git/gitweb.git] / t / t5100 / patch0010
blobf055481d567212b7b43e7ca8251351b3f83b143b
1 ---
2  builtin-mailinfo.c |    2 +-
3  1 files changed, 1 insertions(+), 1 deletions(-)
5 diff --git a/builtin-mailinfo.c b/builtin-mailinfo.c
6 index 962aa34..2d1520f 100644
7 --- a/builtin-mailinfo.c
8 +++ b/builtin-mailinfo.c
9 @@ -334,7 +334,7 @@ static int check_header(char *line, unsigned linesize, char **hdr_data, int over
10                 return 1;
11         if (!memcmp("[PATCH]", line, 7) && isspace(line[7])) {
12                 for (i = 0; header[i]; i++) {
13 -                       if (!memcmp("Subject: ", header[i], 9)) {
14 +                       if (!memcmp("Subject", header[i], 7)) {
15                                 if (! handle_header(line, hdr_data[i], 0)) {
16                                         return 1;
17                                 }
18 -- 
19 1.5.6.2.455.g1efb2