Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP1:GA
git.9058
0008-verify_dotfile-mention-case-insensitivity-...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0008-verify_dotfile-mention-case-insensitivity-in-comment.patch of Package git.9058
From 641084b618ddbe099f0992161988c3e479ae848b Mon Sep 17 00:00:00 2001 From: Jeff King <peff@peff.net> Date: Tue, 15 May 2018 09:56:50 -0400 Subject: [PATCH 08/11] verify_dotfile: mention case-insensitivity in comment We're more restrictive than we need to be in matching ".GIT" on case-sensitive filesystems; let's make a note that this is intentional. Signed-off-by: Jeff King <peff@peff.net> --- read-cache.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) --- a/read-cache.c +++ b/read-cache.c @@ -810,7 +810,10 @@ static int verify_dotfile(const char *re switch (*rest) { /* - * ".git" followed by NUL or slash is bad. + * ".git" followed by NUL or slash is bad. Note that we match + * case-insensitively here, even if ignore_case is not set. + * This outlaws ".GIT" everywhere out of an abundance of caution, + * since there's really no good reason to allow it. */ case 'g': case 'G':
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor