Thread (1 message) 1 message, 1 author, 2019-12-20

Re: [PATCH v3] sparse-checkout: improve OS ls compatibility

From: Junio C Hamano <hidden>
Date: 2019-12-20 17:55:21

Derrick Stolee [off-list ref] writes:
On 12/20/2019 10:38 AM, Ed Maste wrote:
quoted
On FreeBSD, when executed by root ls enables the '-A' option:

  -A  Include directory entries whose names begin with a dot (`.')
      except for . and ...  Automatically set for the super-user unless
      -I is specified.

As a result the .git directory appeared in the output when run as root.
Simulate no-dotfile ls behaviour using a shell glob.
This patch looks good to me and seems to match where the
discussion landed. Thanks for finding and fixing this!
Thanks, all.  Will queue.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help