Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
apply --whitespace=fix: detect new blank lines at eof correctly
[gitweb.git]
/
builtin-mailinfo.c
diff --git
a/builtin-mailinfo.c
b/builtin-mailinfo.c
index fcb32c9818e6c8ce5fef612192b971a4ec2d99dd..dacc8ac2d0e63e46dd1aa8fee6ba949bdd319e43 100644
(file)
--- a/
builtin-mailinfo.c
+++ b/
builtin-mailinfo.c
@@
-871,6
+871,7
@@
static void handle_info(void)
}
output_header_lines(fout, "Subject", hdr);
} else if (!memcmp(header[i], "From", 4)) {
+ cleanup_space(hdr);
handle_from(hdr);
fprintf(fout, "Author: %s\n", name.buf);
fprintf(fout, "Email: %s\n", email.buf);