Minor tweak on subject line in --pretty=email
Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
parent
3eefc18917
commit
4c4b158b8f
2
commit.c
2
commit.c
@ -498,7 +498,7 @@ unsigned long pretty_print_commit(enum cmit_fmt fmt, const struct commit *commit
|
|||||||
const char *subject = NULL;
|
const char *subject = NULL;
|
||||||
|
|
||||||
if (fmt == CMIT_FMT_EMAIL)
|
if (fmt == CMIT_FMT_EMAIL)
|
||||||
subject = "Subject: ";
|
subject = "Subject: [PATCH] ";
|
||||||
if (fmt == CMIT_FMT_ONELINE || fmt == CMIT_FMT_EMAIL)
|
if (fmt == CMIT_FMT_ONELINE || fmt == CMIT_FMT_EMAIL)
|
||||||
indent = 0;
|
indent = 0;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user