Merge branch 'mh/packed-refs-do-one-ref-recursion'
[gitweb.git] / builtin / commit.c
index 65cf2a79b71021cc456634a52bc8ba6f73260bc1..003bd7dbec1acfda36f4d4bc5e9fb64a276ad049 100644 (file)
@@ -534,7 +534,6 @@ static void determine_author_info(struct strbuf *author_ident)
                                        (lb - strlen(" ") -
                                         (a + strlen("\nauthor "))));
                email = xmemdupz(lb + strlen("<"), rb - (lb + strlen("<")));
-               date = xmemdupz(rb + strlen("> "), eol - (rb + strlen("> ")));
                len = eol - (rb + strlen("> "));
                date = xmalloc(len + 2);
                *date = '@';