From ad64f9952203e9827aeca53bee5c2cf1c9241536 Mon Sep 17 00:00:00 2001 From: Sitaram Chamarty Date: Sat, 26 Jun 2010 05:21:57 +0530 Subject: [PATCH] git config settings in wild repos: part 2 call it after the new_repo in auth also --- src/gl-auth-command | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gl-auth-command b/src/gl-auth-command index fdce93f..623ab91 100755 --- a/src/gl-auth-command +++ b/src/gl-auth-command @@ -28,6 +28,7 @@ our ($GL_LOGT, $GL_CONF_COMPILED, $REPO_BASE, $GIT_PATH, $REPO_UMASK, $GL_ADMIND our ($R_COMMANDS, $W_COMMANDS, $REPONAME_PATT, $REPOPATT_PATT); our %repos; our %groups; +our %repo_config; # the common setup module is in the same directory as this running program is my $bindir = $0; @@ -206,6 +207,7 @@ if ($perm =~ /C/) { # it was missing, and you have create perms wrap_chdir("$repo_base_abs"); new_repo($repo, "$GL_ADMINDIR/hooks/common", $user); + &setup_repo_configs(\%repo_config, $repo, 1); wrap_chdir($ENV{HOME}); }