aboutsummaryrefslogtreecommitdiff
path: root/builtin-log.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2007-04-12 03:04:05 -0700
committerJunio C Hamano <junkio@cox.net>2007-04-12 17:43:28 -0700
commit2bfe3cec92be4f5e3bfc0e71ed560df4a726c07b (patch)
tree47fa0f930ef45c5fb2a0354d4d2b4b9d51af3028 /builtin-log.c
parent9aef12673e966fcbefea7716239e159c03b8d94e (diff)
downloadgit-2bfe3cec92be4f5e3bfc0e71ed560df4a726c07b.tar.gz
git-2bfe3cec92be4f5e3bfc0e71ed560df4a726c07b.tar.xz
Fix git {log,show,...} --pretty=email
An earlier --subject-prefix patch forgot that format-patch is not the only codepath that adds the "[PATCH]" prefix, and broke everybody else in the log family. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'builtin-log.c')
-rw-r--r--builtin-log.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/builtin-log.c b/builtin-log.c
index 4a4890aca..ffc269a12 100644
--- a/builtin-log.c
+++ b/builtin-log.c
@@ -435,7 +435,6 @@ int cmd_format_patch(int argc, const char **argv, const char *prefix)
rev.ignore_merges = 1;
rev.diffopt.msg_sep = "";
rev.diffopt.recursive = 1;
- rev.subject_prefix = "PATCH";
rev.extra_headers = extra_headers;