aboutsummaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-06 15:28:59 -0700
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-05-06 15:28:59 -0700
commitf80cd783c6f346388bbb0a6a15672be99a71f7ed (patch)
tree0c201e2e8bac61dc0189a857b061a796c1913cd4 /cache.h
parent5aad72f2bc1527e1fcdf460f0a36b0bcc4117b4a (diff)
downloadgit-f80cd783c6f346388bbb0a6a15672be99a71f7ed.tar.gz
git-f80cd783c6f346388bbb0a6a15672be99a71f7ed.tar.xz
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 80f996705..9de7709f9 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);