X-Git-Url: https://git.octo.it/?a=blobdiff_plain;ds=sidebyside;f=commit-tree.c;h=1d125b8412f0eff6576e8c91343bbf8d9726247d;hb=c504aae2a6c96f1363562a3aa1dc05fb4462e978;hp=e9069971a8bbe413ceb71f63fc48513a475a4d6f;hpb=2eab945e865317cb7d390aec214303f1d931b53a;p=git.git diff --git a/commit-tree.c b/commit-tree.c index e9069971..1d125b84 100644 --- a/commit-tree.c +++ b/commit-tree.c @@ -153,7 +153,7 @@ int main(int argc, char **argv) parse_date(audate, date, sizeof(date)); cmdate = gitenv("GIT_COMMITTER_DATE"); if (cmdate) - parse_date(audate, realdate, sizeof(realdate)); + parse_date(cmdate, realdate, sizeof(realdate)); remove_special(gecos); remove_special(realgecos); remove_special(commitgecos); remove_special(email); remove_special(realemail); remove_special(commitemail);