{"thread":{"id":"3559","subject":"[PATCH] Use core.sharedrepository consistently.","startedAt":"2006-03-04T23:05:57Z","lastAt":"2006-03-04T23:38:39Z","messageCount":2,"participants":["Fernando J. Pereda","Junio C Hamano"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"17158","messageId":"20060304230557.GB28469@ferdyx.org","threadId":"3559","inReplyTo":null,"subject":"[PATCH] Use core.sharedrepository consistently.","fromName":"Fernando J. Pereda","fromEmail":"ferdy@gentoo.org","sentAt":"2006-03-04T23:05:57Z","receivedAt":"2006-03-04T23:05:57Z","isPatch":true,"sender":{"key":"ferdy@gentoo.org","avatar":null},"body":"'git init-db --shared' sets 'core.sharedRepository' but in\nsetup.c 'core.sharedrepository' is checked instead. This\ntrivial patch fixes both init-db.c and its documentation to\nuse 'core.sharedrepository'.\n\nSigned-off-by: Fernando J. Pereda <ferdy@gentoo.org>\n\n---\n\n Documentation/git-init-db.txt |    2 +-\n init-db.c                     |    2 +-\n 2 files changed, 2 insertions(+), 2 deletions(-)\n\n531df8e5c78ca67746b7a651ac4486eae8b114c6\ndiff --git a/Documentation/git-init-db.txt b/Documentation/git-init-db.txt\nindex ea4d849..2d818d6 100644\n--- a/Documentation/git-init-db.txt\n+++ b/Documentation/git-init-db.txt\n@@ -34,7 +34,7 @@ environment variable then the sha1 direc\n otherwise the default `$GIT_DIR/objects` directory is used.\n \n A shared repository allows users belonging to the same group to push into that\n-repository. When specifying `--shared` the config variable \"core.sharedRepository\" \n+repository. When specifying `--shared` the config variable \"core.sharedrepository\"\n is set to 'true' so that directories under `$GIT_DIR` are made group writable\n (and g+sx, since the git group may be not the primary group of all users).\n \ndiff --git a/init-db.c b/init-db.c\nindex ff29496..e77a749 100644\n--- a/init-db.c\n+++ b/init-db.c\n@@ -285,7 +285,7 @@ int main(int argc, char **argv)\n \tsafe_create_dir(path, 1);\n \n \tif (shared_repository)\n-\t\tgit_config_set(\"core.sharedRepository\", \"true\");\n+\t\tgit_config_set(\"core.sharedrepository\", \"true\");\n \n \treturn 0;\n }\n-- \n1.2.4\n"},{"id":"17161","messageId":"7vhd6dpyps.fsf@assigned-by-dhcp.cox.net","threadId":"3559","inReplyTo":"20060304230557.GB28469@ferdyx.org","subject":"Re: [PATCH] Use core.sharedrepository consistently.","fromName":"Junio C Hamano","fromEmail":"junkio@cox.net","sentAt":"2006-03-04T23:38:39Z","receivedAt":"2006-03-04T23:38:39Z","isPatch":true,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"\"Fernando J. Pereda\" <ferdy@gentoo.org> writes:\n\n> 'git init-db --shared' sets 'core.sharedRepository' but in\n> setup.c 'core.sharedrepository' is checked instead.\n\nI thought they were case insensitive..\n"}]}