]> git.ipfire.org Git - thirdparty/git.git/commit
t/helper: add 'pack-mtimes' test-tool
authorTaylor Blau <me@ttaylorr.com>
Fri, 20 May 2022 23:17:46 +0000 (19:17 -0400)
committerJunio C Hamano <gitster@pobox.com>
Thu, 26 May 2022 22:48:26 +0000 (15:48 -0700)
commit2bd44278244d3dc4cc11916ecb1f31f826709a20
tree234eda18cfd3caad34b473ad14e312b52821a07d
parent5dfaf49a5a651d3e8c3552bc2e833312a3671a4f
t/helper: add 'pack-mtimes' test-tool

In the next patch, we will implement and test support for writing a
cruft pack via a special mode of `git pack-objects`. To make sure that
objects are written with the correct timestamps, and a new test-tool
that can dump the object names and corresponding timestamps from a given
`.mtimes` file.

Signed-off-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile
t/helper/test-pack-mtimes.c [new file with mode: 0644]
t/helper/test-tool.c
t/helper/test-tool.h