quiltimport: Skip non-existent patches
[gitweb.git] / sha1_name.c
index 858f08c34a2de917b630d02974a839d626d23e7f..2d727d54dc43c23cb2fe19369d58e57e2a020ca9 100644 (file)
@@ -370,7 +370,7 @@ static int get_sha1_basic(const char *str, int len, unsigned char *sha1)
                                fprintf(stderr,
                                        "warning: Log for '%.*s' only goes "
                                        "back to %s.\n", len, str,
-                                       show_rfc2822_date(co_time, co_tz));
+                                       show_date(co_time, co_tz, DATE_RFC2822));
                        else
                                fprintf(stderr,
                                        "warning: Log for '%.*s' only has "