[Bps-public-commit] BPS git mailer tools branch, master, updated. 84ac8c0550e0be2c850f1950d9336de0e7e19cbb

Kevin Falcone falcone at bestpractical.com
Wed Jul 1 11:25:40 EDT 2009


The branch, master has been updated
       via  84ac8c0550e0be2c850f1950d9336de0e7e19cbb (commit)
      from  568f734ba727625e5a13fc004adbb4ea5aadf32e (commit)

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

- Log -----------------------------------------------------------------
commit 84ac8c0550e0be2c850f1950d9336de0e7e19cbb
Author: Kevin Falcone <falcone at bestpractical.com>
Date:   Wed Jul 1 11:25:11 2009 -0400

    set reflogExpire on the real repo, not the clone
    also set logallrefupdates

diff --git a/create-repo b/create-repo
index 0748917..cb8bf69 100755
--- a/create-repo
+++ b/create-repo
@@ -30,7 +30,6 @@ ssh fsck.com "\
     cd /tmp/git-init-$TEMP && \
     git clone /git/$REPO.git && \
     cd $REPO && \
-    git config gc.refLogExpire never && \
     touch .gitignore && \
     git add .gitignore && \
     git commit -m 'First post' && \
@@ -43,6 +42,8 @@ ssh fsck.com "\
     git config --add hooks.emailprefix '' && \
     git config --add hooks.showrev \"git show -C %s; echo \" && \
     git remote add --mirror github git at github.com:bestpractical/${REPO}.git && \
+    git config gc.reflogExpire never && \
+    git config core.logallrefupdates true && \
     chmod +x post-receive
     "
 

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



More information about the Bps-public-commit mailing list