Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'ak/t7800-wo-readlink'
[gitweb.git]
/
builtin
/
log.c
diff --git
a/builtin/log.c
b/builtin/log.c
index 8eef94f335489eeb91c247251b2dacddbcbb726b..de47b4e89ae4d9aa1fbdd7187854d8fefc5ebe55 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);