[Bps-public-commit] BPS git mailer tools branch, shared-init, created. 08196cb428cbddb4e95bfe352dc65fec28f2f57c
Kevin Falcone
falcone at bestpractical.com
Thu Jul 16 16:12:37 EDT 2009
The branch, shared-init has been created
at 08196cb428cbddb4e95bfe352dc65fec28f2f57c (commit)
- Log -----------------------------------------------------------------
commit 08196cb428cbddb4e95bfe352dc65fec28f2f57c
Author: Kevin Falcone <falcone at bestpractical.com>
Date: Thu Jul 16 16:08:27 2009 -0400
Instead of shared=group, use shared=permissions mask
When we get a more modern git on diesel, this will automatically squash
permission bits during commits so that everything is user and group
writable with no world bits
diff --git a/create-private-repo b/create-private-repo
index 19c95e3..5ff1c32 100755
--- a/create-private-repo
+++ b/create-private-repo
@@ -23,7 +23,7 @@ TEMP=$$
ssh fsck.com "\
mkdir -m 0750 /git-private/$REPO.git && \
cd /git-private/$REPO.git && \
- git init --shared --bare && \
+ git init --shared=0660 --bare && \
echo "$RAW_REPO" > description && \
chgrp -R git-private /git-private/$REPO.git && \
mkdir /tmp/git-init-$TEMP && \
diff --git a/create-repo b/create-repo
index e42b536..7824ea8 100755
--- a/create-repo
+++ b/create-repo
@@ -23,7 +23,7 @@ TEMP=$$
ssh fsck.com "\
mkdir -m 0750 /git/$REPO.git && \
cd /git/$REPO.git && \
- git init --shared --bare && \
+ git init --shared=0660 --bare && \
echo "$RAW_REPO" > description && \
chgrp -R git /git/$REPO.git && \
mkdir /tmp/git-init-$TEMP && \
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list