summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-06 22:28:59 (GMT)
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-06 22:28:59 (GMT)
commitf80cd783c6f346388bbb0a6a15672be99a71f7ed (patch)
tree0c201e2e8bac61dc0189a857b061a796c1913cd4 /cache.h
parent5aad72f2bc1527e1fcdf460f0a36b0bcc4117b4a (diff)
downloadgit-f80cd783c6f346388bbb0a6a15672be99a71f7ed.zip
git-f80cd783c6f346388bbb0a6a15672be99a71f7ed.tar.gz
git-f80cd783c6f346388bbb0a6a15672be99a71f7ed.tar.bz2
date.c: add "show_date()" function.
Kind of like ctime(), but not as broken.
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 80f9967..9de7709 100644
--- a/cache.h
+++ b/cache.h
@@ -166,6 +166,7 @@ extern void *read_object_with_reference(const unsigned char *sha1,
unsigned long *size,
unsigned char *sha1_ret);
+const char *show_date(unsigned long time, int timezone);
void parse_date(char *date, char *buf, int bufsize);
void datestamp(char *buf, int bufsize);