diff options
author | Junio C Hamano <gitster@pobox.com> | 2021-12-10 14:35:07 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2021-12-10 14:35:07 -0800 |
commit | 1c39c822a9a57efc811793ca0ffe9d872eabc12c (patch) | |
tree | 0116f2c7d3363f8f96634e185d90b67637b2524d /cache.h | |
parent | Merge branch 'js/ci-no-directional-formatting' (diff) | |
parent | strbuf_addftime(): handle "%s" manually (diff) | |
download | tgif-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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |