Merge branch 'jc/fmt-patch' into next
* jc/fmt-patch: Minor tweak on subject line in --pretty=email
This commit is contained in:
commit
55436162c7
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