Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
pretty: support "mboxrd" output format
[gitweb.git]
/
builtin
/
log.c
diff --git
a/builtin/log.c
b/builtin/log.c
index 099f4f7be92c6d4371dcc8cba1322351c6840439..6d6f368175f0edfef2953461ec7ca6790513e572 100644
(file)
--- a/
builtin/log.c
+++ b/
builtin/log.c
@@
-953,7
+953,7
@@
static void make_cover_letter(struct rev_info *rev, int use_stdout,
struct pretty_print_context pp = {0};
struct commit *head = list[0];
- if (
rev->commit_format != CMIT_FMT_EMAIL
)
+ if (
!cmit_fmt_is_mail(rev->commit_format)
)
die(_("Cover letter needs email format"));
committer = git_committer_info(0);