t5319: replace 'touch -m' with 'test-tool chmtime'
commite892a56845dfc806e384574884175dea964b359c
authorDerrick Stolee <dstolee@microsoft.com>
Wed, 1 Apr 2020 21:00:43 +0000 (1 21:00 +0000)
committerJunio C Hamano <gitster@pobox.com>
Wed, 1 Apr 2020 21:37:50 +0000 (1 14:37 -0700)
tree3ba896753e2f3ad835375b3f35940fa1a8746387
parent3612c2334af8b70137a2d3f5497b1b6f4e9762a2
t5319: replace 'touch -m' with 'test-tool chmtime'

The use of 'touch -m' to modify a file's mtime is slightly less
portable than using our own 'test-tool chmtime'. The important
thing is that these pack-files are ordered in a special way to
ensure the multi-pack-index selects some as the "newer" pack-files
when resolving duplicate objects.

Reported-by: Jeff King <peff@peff.net>
Signed-off-by: Derrick Stolee <dstolee@microsoft.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5319-multi-pack-index.sh