]> git.ipfire.org Git - thirdparty/git.git/commit
t5000: use check_mtime()
authorRené Scharfe <l.s.r@web.de>
Sat, 25 Mar 2023 12:16:32 +0000 (13:16 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 27 Mar 2023 16:13:30 +0000 (09:13 -0700)
commit1aaed69d11f216a96004518cbea3fadd28fbf530
tree8ef7e3e74a1d1a4242569cc5d6024eda3b265c3e
parentfd2da4b1ea871df317322f33e82cb3aa1f95ee10
t5000: use check_mtime()

fd2da4b1ea (archive: add --mtime, 2023-02-18) added a helper function
for checking the file modification time of an extracted entry.  Use it
for the older mtime test as well to shorten the code and piggyback on
the archive extraction done to validate file contents.

Signed-off-by: René Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t5000-tar-tree.sh