Re: [PATCH v3] sparse-checkout: improve OS ls compatibility
- From
Derrick Stolee <stolee@gmail.com>
- Date
- Dec 20, 2019, 16:05 UTC
- Message-ID
- <9c3d10c3-76fb-9e9e-013b-b3f66b934dd6@gmail.com>
- In-Reply-To
- <20191220153814.54899-1-emaste@FreeBSD.org>
On 12/20/2019 10:38 AM, Ed Maste wrote:
Show 8 quoted lines
> 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!
-Stolee