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

Alex M Vandiver alexmv at bestpractical.com
Sat Oct 17 02:33:15 EDT 2009


The branch, master has been updated
       via  ca3689ea804760938ef7ead2ac7853e2a8af8ef8 (commit)
      from  03b12e799dfe15dcc88044f01abe0e4c3424d49d (commit)

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

- Log -----------------------------------------------------------------
commit ca3689ea804760938ef7ead2ac7853e2a8af8ef8
Author: Alex Vandiver <alexmv at bestpractical.com>
Date:   Sat Oct 17 02:28:43 2009 -0400

    Symlink port-receive hook from /hooks

diff --git a/create-repo b/create-repo
index 380c667..d1c55b8 100755
--- a/create-repo
+++ b/create-repo
@@ -34,13 +34,13 @@ ssh fsck.com "\
     git add .gitignore && \
     git commit -m 'First post' && \
     git push origin master && \
-    cd /git/$REPO.git/hooks && \
     rm -rf /tmp/git-init-$TEMP && \
-    echo \". /usr/local/git-mailer/post-receive-email\" >> post-receive && \
-    echo \"sudo -u git -H /usr/local/bin/git push github >>/home/git/pushlog 2>&1\" >> post-receive && \
+    cd /git/$REPO.git/hooks && \
+    ln -s /git/hooks/* . && \
     git config --add hooks.mailinglist bps-public-commit at lists.bestpractical.com && \
     git config --add hooks.emailprefix '' && \
     git config --add hooks.showrev \"git show -C %s; echo \" && \
+    git config --bool bps.github true && \
     git remote add --mirror github git at github.com:bestpractical/${REPO}.git && \
     git config gc.reflogExpire never && \
     git config core.logallrefupdates true && \

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



More information about the Bps-public-commit mailing list