diff options
author | Jeff King <peff@peff.net> | 2014-01-23 14:55:18 -0500 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-01-23 13:13:20 -0800 |
commit | a0332337be53f266682279c72a5e553986638c87 (patch) | |
tree | 4dd146bb22c77057023cda61341a3015e738fa7f /t/t0002-gitfile.sh | |
parent | t7501: fix "empty commit" test with NO_PERL (diff) | |
download | tgif-a0332337be53f266682279c72a5e553986638c87.tar.xz |
t7700: do not use "touch" unnecessarily
Some versions of touch (such as /usr/ucb/touch on Solaris)
do not know about the "-r" option. This would make sense as
a feature of test-chmtime, but fortunately this fix is even
easier.
The test does not care about the timestamp of the .keep file it
creates at all, only that it exists. For such a use case, with or
without portability issues around "-r", "touch" should not be used
in the first place.
Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t0002-gitfile.sh')
0 files changed, 0 insertions, 0 deletions