diff options
author | René Scharfe <l.s.r@web.de> | 2023-04-08 11:35:24 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-04-10 08:46:40 -0700 |
commit | 8a7f0b666fc749166421669fba62b1000321bd26 (patch) | |
tree | f3e5a25ccaa39712eb8d99af80522cef55cb3b94 /date.h | |
parent | 73876f4861cd3d187a4682290ab75c9dccadbc56 (diff) | |
download | git-8a7f0b666fc749166421669fba62b1000321bd26.tar.gz |
date: remove approxidate_relative()
When 29f4332e66 (Quit passing 'now' to date code, 2019-09-11) removed
its timeval parameter, approxidate_relative() became equivalent to
approxidate(). Convert its last two call sites and remove the redundant
function.
Signed-off-by: René Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'date.h')
-rw-r--r-- | date.h | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -68,7 +68,6 @@ int parse_expiry_date(const char *date, timestamp_t *timestamp); void datestamp(struct strbuf *out); #define approxidate(s) approxidate_careful((s), NULL) timestamp_t approxidate_careful(const char *, int *); -timestamp_t approxidate_relative(const char *date); int date_overflows(timestamp_t date); time_t tm_to_time_t(const struct tm *tm); #endif |