diff options
author | Martin Langhoff <martin@catalyst.net.nz> | 2006-05-01 10:20:56 +1200 |
---|---|---|
committer | Martin Langhoff <martin@catalyst.net.nz> | 2006-05-01 10:20:56 +1200 |
commit | e660e3997fbad830e5723336d61883f3a50dbc92 (patch) | |
tree | 0c02dced98df9982415c8328e8c07c1001e3dc31 /git-format-patch.sh | |
parent | git-cvsexportcommit: Add -f(orce) and -m(essage prefix) flags, small cleanups. (diff) | |
parent | Merge branch 'fix' (diff) | |
download | tgif-e660e3997fbad830e5723336d61883f3a50dbc92.tar.xz |
Merge with git://kernel.org/pub/scm/git/git.git
Diffstat (limited to 'git-format-patch.sh')
-rwxr-xr-x | git-format-patch.sh | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/git-format-patch.sh b/git-format-patch.sh index c7133bc126..c077f44ca1 100755 --- a/git-format-patch.sh +++ b/git-format-patch.sh @@ -205,11 +205,10 @@ sub show_date { } my $t = $time + $minutes * 60; my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday) = gmtime($t); - return sprintf("%s %s %d %02d:%02d:%02d %d %+05d", - $weekday_names[$wday], - $month_names[$mon], - $mday, $hour, $min, $sec, - $year+1900, $tz); + return sprintf("%s, %d %s %d %02d:%02d:%02d %+05d", + $weekday_names[$wday], $mday, + $month_names[$mon], $year+1900, + $hour, $min, $sec, $tz); } print "From nobody Mon Sep 17 00:00:00 2001\n"; |