diff options
author | Junio C Hamano <gitster@pobox.com> | 2010-02-10 13:02:43 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-02-10 13:02:43 -0800 |
commit | 410e99fadf25b65b70d9bf90fd8bd5a5d1ea3c8a (patch) | |
tree | 4cc0ed1e586136d931397d3b116be20d6d487688 /cache.h | |
parent | c329898abb167f05e37f3d0305e833127a26a4d0 (diff) | |
parent | 6c647af3060b8dd20da0e0b21dcd0eb95ec70841 (diff) | |
download | git-410e99fadf25b65b70d9bf90fd8bd5a5d1ea3c8a.tar.gz |
Merge branch 'jc/maint-reflog-bad-timestamp' into maint
* jc/maint-reflog-bad-timestamp:
t0101: use a fixed timestamp when searching in the reflog
Update @{bogus.timestamp} fix not to die()
approxidate_careful() reports errorneous date string
Diffstat (limited to 'cache.h')
-rw-r--r-- | cache.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -747,7 +747,8 @@ const char *show_date_relative(unsigned long time, int tz, size_t timebuf_size); int parse_date(const char *date, char *buf, int bufsize); void datestamp(char *buf, int bufsize); -unsigned long approxidate(const char *); +#define approxidate(s) approxidate_careful((s), NULL) +unsigned long approxidate_careful(const char *, int *); unsigned long approxidate_relative(const char *date, const struct timeval *now); enum date_mode parse_date_format(const char *format); |