summaryrefslogtreecommitdiff
path: root/builtin-add.c
diff options
context:
space:
mode:
authorLibravatar Johannes Schindelin <Johannes.Schindelin@gmx.de>2007-07-11 15:18:17 +0100
committerLibravatar Junio C Hamano <gitster@pobox.com>2007-07-11 13:52:16 -0700
commit835252272e0192bd26983e22428480c5c89775fb (patch)
tree5aee2b937dd3698794561e24aae3f62978483352 /builtin-add.c
parentgitweb: configurable width for the projects list Description column (diff)
downloadtgif-835252272e0192bd26983e22428480c5c89775fb.tar.xz
Fix core.sharedRepository = 2
For compatibility reasons, "git init --shared=all" does not write "all" into the config, but a number. In the shared setup, you really have to support even older clients on the _same_ repository. But git_config_perm() did not pick up on it. Also, "git update-server-info" failed to pick up on the shared permissions. This patch fixes both issues, and adds a test to prove it. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Tested-by: martin f krafft <madduck@madduck.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin-add.c')
0 files changed, 0 insertions, 0 deletions