Thread (1 message) 1 message, 1 author, 2020-03-23

Re: [PATCH v2 6/8] t7063: drop non-POSIX argument "-ls" from find(1)

From: Junio C Hamano <hidden>
Date: 2020-03-23 20:30:38

Danh Doan [off-list ref] writes:
Can we just change back to what Duy proposed time ago:

	find . -type d -exec ls -ld {} \;
Yup, that sounds just as conservative as it can get.  On platforms
that are not FreeBSD, anything done in this helper function is an
expensive noop, but provided that the working tree is small enough
and the overhead would not matter, something very simple like the
above sounds like the way to go.  If the overhead is too much, on
the other hand, then we can do it only conditionally on certain
filesystems where the issue exists.
I'd find some time (later) to setup a Travis build with Alpine and VoidLinux,
mainly for musl check.
Thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help