git-p4: add test case for "Translation of file content failed" error
[gitweb.git] / sha1_name.c
index e57513e61032fb851a669255c30d8417f66c81f9..da6874c15ec51964b6044ae96fc88c282decb0cc 100644 (file)
@@ -576,7 +576,7 @@ static int get_sha1_basic(const char *str, int len, unsigned char *sha1,
                                if (!(flags & GET_SHA1_QUIETLY)) {
                                        warning("Log for '%.*s' only goes "
                                                "back to %s.", len, str,
-                                               show_date(co_time, co_tz, DATE_RFC2822));
+                                               show_date(co_time, co_tz, DATE_MODE(RFC2822)));
                                }
                        } else {
                                if (flags & GET_SHA1_QUIETLY) {