Skip to content

Commit bc3e998

Browse files
committed
SQUASH???
1 parent 5daec3a commit bc3e998

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

repack-promisor.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,8 @@ static void copy_promisor_content(struct repository *repo,
109109

110110
/* If <time> doesn't exist, retrieve it and add it to line */
111111
if (line_sections.nr < 3)
112-
strbuf_addf(&line, " %lld", (long long int)source_stat.st_mtim.tv_sec);
112+
strbuf_addf(&line, " %" PRItime,
113+
(timestamp_t)source_stat.st_mtime);
113114

114115
/*
115116
* Add the finalized line to dest_to_write and dest_content if it

0 commit comments

Comments
 (0)