From: Junio C Hamano Date: Fri, 20 Dec 2019 17:55:15 GMT Subject: Re: [PATCH v3] sparse-checkout: improve OS ls compatibility Message-ID: In-Reply-To: <9c3d10c3-76fb-9e9e-013b-b3f66b934dd6@gmail.com> Derrick Stolee writes: > On 12/20/2019 10:38 AM, Ed Maste wrote: >> 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.