summaryrefslogtreecommitdiff
path: root/builtin/push.c
diff options
context:
space:
mode:
authorLibravatar Marc Strapetz <marc.strapetz@syntevo.com>2022-01-07 11:17:28 +0000
committerLibravatar Junio C Hamano <gitster@pobox.com>2022-01-07 12:37:30 -0800
commitab6245bdeed46e1ff3bd378690066abd2ed0f2ef (patch)
treeeff4125a81937777d716db8dc841d22d87ba3bb8 /builtin/push.c
parentThe sixth batch (diff)
downloadtgif-ab6245bdeed46e1ff3bd378690066abd2ed0f2ef.tar.xz
test-lib: introduce API for verifying file mtime
Add functions `test_set_magic_mtime` and `test_is_magic_mtime` which can be used to (re)set the mtime of a file to a predefined ("magic") timestamp, then perform some operations and finally check for mtime changes of the file. The core implementation follows the suggestion from the mailing list [1]. [1] https://lore.kernel.org/git/xmqqczl5hpaq.fsf@gitster.g/T/#u Signed-off-by: Marc Strapetz <marc.strapetz@syntevo.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/push.c')
0 files changed, 0 insertions, 0 deletions