[Bps-public-commit] BPS git mailer tools branch, master, updated. 041fc7540dfd24907db098e87d76c5c23b7bd4f2

Kevin Falcone falcone at bestpractical.com
Mon Aug 10 13:11:25 EDT 2009


The branch, master has been updated
       via  041fc7540dfd24907db098e87d76c5c23b7bd4f2 (commit)
       via  08196cb428cbddb4e95bfe352dc65fec28f2f57c (commit)
      from  4083bcd2771f1376dadc17efe214da537c2ca1dd (commit)

Summary of changes:
 create-private-repo |    2 +-
 create-repo         |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

- 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 && \

commit 041fc7540dfd24907db098e87d76c5c23b7bd4f2
Merge: 08196cb 4083bcd
Author: Kevin Falcone <falcone at bestpractical.com>
Date:   Mon Aug 10 12:29:54 2009 -0400

    Merge branch 'master' into shared-init


-----------------------------------------------------------------------



More information about the Bps-public-commit mailing list