diff options
author | Junio C Hamano <gitster@pobox.com> | 2010-08-12 18:31:03 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-08-12 18:31:03 -0700 |
commit | aa8b8f40df07972fad357420415ff9bbdf22dd9e (patch) | |
tree | 6c7200dbc490fcd5f5511e3c13d6bd0f58e9bbba /cache.h | |
parent | 1c80c9b2cb5ae0d8c77f3c73730225ca19aeef4a (diff) | |
parent | 9644c0616374f8c621b10793b1732b26a0482820 (diff) | |
download | git-aa8b8f40df07972fad357420415ff9bbdf22dd9e.tar.gz |
Merge branch 'jn/parse-date-basic'
* jn/parse-date-basic:
Export parse_date_basic() to convert a date string to timestamp
Diffstat (limited to 'cache.h')
-rw-r--r-- | cache.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -811,6 +811,7 @@ const char *show_date_relative(unsigned long time, int tz, char *timebuf, size_t timebuf_size); int parse_date(const char *date, char *buf, int bufsize); +int parse_date_basic(const char *date, unsigned long *timestamp, int *offset); void datestamp(char *buf, int bufsize); #define approxidate(s) approxidate_careful((s), NULL) unsigned long approxidate_careful(const char *, int *); |