summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2021-12-10 14:35:07 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-12-10 14:35:07 -0800
commit1c39c822a9a57efc811793ca0ffe9d872eabc12c (patch)
tree0116f2c7d3363f8f96634e185d90b67637b2524d /cache.h
parentMerge branch 'js/ci-no-directional-formatting' (diff)
parentstrbuf_addftime(): handle "%s" manually (diff)
downloadtgif-1c39c822a9a57efc811793ca0ffe9d872eabc12c.tar.xz
Merge branch 'jk/strbuf-addftime-seconds-since-epoch'
The "--date=format:<strftime>" gained a workaround for the lack of system support for a non-local timezone to handle "%s" placeholder. * jk/strbuf-addftime-seconds-since-epoch: strbuf_addftime(): handle "%s" manually
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 eba12487b9..aa6f380d10 100644
--- a/cache.h
+++ b/cache.h
@@ -1588,6 +1588,7 @@ timestamp_t approxidate_careful(const char *, int *);
timestamp_t approxidate_relative(const char *date);
void parse_date_format(const char *format, struct date_mode *mode);
int date_overflows(timestamp_t date);
+time_t tm_to_time_t(const struct tm *tm);
#define IDENT_STRICT 1
#define IDENT_NO_DATE 2