t7063: drop non-POSIX argument "-ls" from find(1)
commitd51dd4ca3ad12d2d4153418cf13027390748a914
authorĐoàn Trần Công Danh <congdanhqx@gmail.com>
Wed, 25 Mar 2020 15:06:19 +0000 (25 22:06 +0700)
committerJunio C Hamano <gitster@pobox.com>
Wed, 25 Mar 2020 15:54:37 +0000 (25 08:54 -0700)
tree28e93293a33d734e964a1c3122415e0f2bf802c3
parent6c28bef2d4bb71ec90be0fa6049d4925f6713903
t7063: drop non-POSIX argument "-ls" from find(1)

Since commit 6b7728db81, (t7063: work around FreeBSD's lazy mtime
update feature, 2016-08-03), we started to use ls as a trick to update
directory's mtime.

However, `-ls` flag isn't required by POSIX's find(1), and
busybox(1) doesn't implement it.

Use "-exec ls -ld {} +" instead.

Signed-off-by: Đoàn Trần Công Danh <congdanhqx@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t7063-status-untracked-cache.sh