summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-05-01 01:44:33 -0700
committerJunio C Hamano <junkio@cox.net>2006-05-01 01:44:33 -0700
commit2a3870432395e78c82a870bf1a177b8d5b8fbdf0 (patch)
treece8565e72853b593cf42ba3a9b0eacdf532b01ca /cache.h
parent53f420ef00ca6cc3554084c4c9fb89f50c634f58 (diff)
downloadgit-2a3870432395e78c82a870bf1a177b8d5b8fbdf0.tar.gz
Use RFC2822 dates from "git fmt-patch".
Still Work-in-progress git fmt-patch (should it be known as format-patch-ng?) is matched with the fix made by Huw Davies in 262a6ef76a1dde97ab50d79fa5cd6d3f9f125765 commit to use RFC2822 date format. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cache.h b/cache.h
index 69801b02d5..f6c5909598 100644
--- a/cache.h
+++ b/cache.h
@@ -249,6 +249,7 @@ extern void *read_object_with_reference(const unsigned char *sha1,
unsigned char *sha1_ret);
const char *show_date(unsigned long time, int timezone);
+const char *show_rfc2822_date(unsigned long time, int timezone);
int parse_date(const char *date, char *buf, int bufsize);
void datestamp(char *buf, int bufsize);
unsigned long approxidate(const char *);