Skip to content

Commit f6c71f8

Browse files
avargitster
authored andcommitted
cache.h: remove always unused show_date_human() declaration
There has never been a show_date_human() function on the "master" branch in git.git. This declaration was added in b841d4f (Add `human` format to test-tool, 2019-01-28). A look at the ML history reveals that it was leftover cruft from an earlier version of that commit[1]. 1. https://lore.kernel.org/git/[email protected]/ Signed-off-by: Ævar Arnfjörð Bjarmason <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent b801210 commit f6c71f8

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

cache.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1588,8 +1588,6 @@ struct date_mode *date_mode_from_type(enum date_mode_type type);
15881588

15891589
const char *show_date(timestamp_t time, int timezone, const struct date_mode *mode);
15901590
void show_date_relative(timestamp_t time, struct strbuf *timebuf);
1591-
void show_date_human(timestamp_t time, int tz, const struct timeval *now,
1592-
struct strbuf *timebuf);
15931591
int parse_date(const char *date, struct strbuf *out);
15941592
int parse_date_basic(const char *date, timestamp_t *timestamp, int *offset);
15951593
int parse_expiry_date(const char *date, timestamp_t *timestamp);

0 commit comments

Comments
 (0)