Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
format-patch: preserve subject newlines with -k
[gitweb.git]
/
builtin
/
log.c
diff --git
a/builtin/log.c
b/builtin/log.c
index 8d842cbcac8152798283a08d434506d6fcb69e76..0e46e5ae95a6ebb33d98cfde7505b50ed1a51c4d 100644
(file)
--- a/
builtin/log.c
+++ b/
builtin/log.c
@@
-1131,6
+1131,7
@@
int cmd_format_patch(int argc, const char **argv, const char *prefix)
die ("-n and -k are mutually exclusive.");
if (keep_subject && subject_prefix)
die ("--subject-prefix and -k are mutually exclusive.");
+ rev.preserve_subject = keep_subject;
argc = setup_revisions(argc, argv, &rev, &s_r_opt);
if (argc > 1)