aboutsummaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@g5.osdl.org>2005-07-12 10:33:06 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-12 10:33:06 -0700
commit26a2d8ae898f5442904dd2fbf89c5fe34480ea85 (patch)
tree47ee9c64ce2e64aaa93faac0920eca54c63a775c /cache.h
parentced7c8482124ba66cfa8e5b9a3f62bf663cb1826 (diff)
downloadgit-26a2d8ae898f5442904dd2fbf89c5fe34480ea85.tar.gz
git-26a2d8ae898f5442904dd2fbf89c5fe34480ea85.tar.xz
parse_date(): allow const date string
This is part of breaking up the tag ID patch by Eric Biederman.
Diffstat (limited to 'cache.h')
-rw-r--r--cache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cache.h b/cache.h
index f29afc408..f0eecb3d4 100644
--- a/cache.h
+++ b/cache.h
@@ -208,7 +208,7 @@ extern void *read_object_with_reference(const unsigned char *sha1,
unsigned char *sha1_ret);
const char *show_date(unsigned long time, int timezone);
-void parse_date(char *date, char *buf, int bufsize);
+void parse_date(const char *date, char *buf, int bufsize);
void datestamp(char *buf, int bufsize);
static inline void *xmalloc(size_t size)