diff options
author | Taylor Blau <me@ttaylorr.com> | 2022-05-21 02:17:35 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-05-27 01:48:26 +0300 |
commit | 94cd775a6c52a99caeb1278c3d8044ee109e2d3e (patch) | |
tree | 82356eb7d022d44f0bc0a290f3ffc2685fdcebb2 /pack-write.c | |
parent | 3d89a8c11801af1f7aae9d009240fd43cf322845 (diff) |
pack-mtimes: support reading .mtimes files
To store the individual mtimes of objects in a cruft pack, introduce a
new `.mtimes` format that can optionally accompany a single pack in the
repository.
The format is defined in Documentation/technical/pack-format.txt, and
stores a 4-byte network order timestamp for each object in name (index)
order.
This patch prepares for cruft packs by defining the `.mtimes` format,
and introducing a basic API that callers can use to read out individual
mtimes.
Signed-off-by: Taylor Blau <me@ttaylorr.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'pack-write.c')
0 files changed, 0 insertions, 0 deletions