Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEd Maste <emaste@FreeBSD.org>2019-12-20 22:41:14 +0300
committerJunio C Hamano <gitster@pobox.com>2019-12-20 23:47:08 +0300
commit761e3d26bbe44c51f83c4f1ad198461f57029ebd (patch)
treecf8685769b91637bae2f67139fc159519044b7bc /refs/refs-internal.h
parent190a65f9db8db9d87d54351429f7879fcb4ad608 (diff)
sparse-checkout: improve OS ls compatibility
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. Helped-by: Eric Wong <e@80x24.org> Helped-by: Junio C Hamano <gitster@pobox.com> Helped-by: Eric Sunshine <sunshine@sunshineco.com> Signed-off-by: Ed Maste <emaste@FreeBSD.org> Acked-by: Derrick Stolee <dstolee@microsoft.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'refs/refs-internal.h')
0 files changed, 0 insertions, 0 deletions