From bfc67f7a9e9e7eb937e6cbd1df4b93006278d0d1 Mon Sep 17 00:00:00 2001 From: Petr Baudis Date: Tue, 10 Oct 2006 14:03:23 +0200 Subject: [PATCH] Make sure the whole repository is group-writable all the time --- fixup.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/fixup.sh b/fixup.sh index a390f6b..3f9ad66 100755 --- a/fixup.sh +++ b/fixup.sh @@ -10,6 +10,8 @@ set -e proj="$1" cd "$proj.git" +chmod g+w . -R + xproj="$(echo "$proj" | sed 's/\./\\./g')" gid="$(sed -ne "/^$xproj:/ { s/^[^:]*:[^:]*:\([0-9]*\):.*/\1/; p }" /home/repo/j/etc/group)" if [ "$gid" = "" ]; then @@ -18,4 +20,3 @@ if [ "$gid" = "" ]; then fi chown ."$gid" info refs objects -R -chmod g+w info refs objects -R -- 2.11.4.GIT