diff options
author | Junio C Hamano <junkio@cox.net> | 2006-05-01 01:55:02 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-05-01 01:55:02 -0700 |
commit | 9318ec234b75eed6dce10e328c93705fec89b31d (patch) | |
tree | 19faadfed545cf06078ba1c06c9ad1b4ce2f8e54 /commit.c | |
parent | Merge branch 'jc/xsha1' into next (diff) | |
parent | Use RFC2822 dates from "git fmt-patch". (diff) | |
download | tgif-9318ec234b75eed6dce10e328c93705fec89b31d.tar.xz |
Merge branch 'jc/fmt-patch' into next
* jc/fmt-patch:
Use RFC2822 dates from "git fmt-patch".
Diffstat (limited to 'commit.c')
-rw-r--r-- | commit.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -442,7 +442,8 @@ static int add_user_info(const char *what, enum cmit_fmt fmt, char *buf, const c ret += sprintf(buf + ret, "Date: %s\n", show_date(time, tz)); break; case CMIT_FMT_EMAIL: - ret += sprintf(buf + ret, "Date: %s\n", show_date(time, tz)); + ret += sprintf(buf + ret, "Date: %s\n", + show_rfc2822_date(time, tz)); break; case CMIT_FMT_FULLER: ret += sprintf(buf + ret, "%sDate: %s\n", what, show_date(time, tz)); |