[Bps-public-commit] git-mailer branch, master, updated. 1199a3ae158938e7b34d4a5d59bb00aba7210fa5
Kevin Falcone
falcone at bestpractical.com
Wed Mar 31 15:42:20 EDT 2010
The branch, master has been updated
via 1199a3ae158938e7b34d4a5d59bb00aba7210fa5 (commit)
via 84af1b506b5c2b200949ac7b6eb86fda14bdd14d (commit)
from b4be2ae96dfed245c66e9db7d230958a51d8e5a8 (commit)
Summary of changes:
create-repo | 9 ---------
svn-to-git | 4 +---
2 files changed, 1 insertions(+), 12 deletions(-)
- Log -----------------------------------------------------------------
commit 84af1b506b5c2b200949ac7b6eb86fda14bdd14d
Author: Kevin Falcone <falcone at bestpractical.com>
Date: Wed Mar 31 11:29:26 2010 -0400
Newer gits don't require as much tapdancing to push data into a new
empty bare repo
diff --git a/create-repo b/create-repo
index 80126e4..f87f207 100755
--- a/create-repo
+++ b/create-repo
@@ -26,15 +26,6 @@ ssh git.bestpractical.com "\
git init --shared=0660 --bare && \
echo "$RAW_REPO" > description && \
chgrp -R git /git/$REPO.git && \
- mkdir /tmp/git-init-$TEMP && \
- cd /tmp/git-init-$TEMP && \
- git clone /git/$REPO.git && \
- cd $REPO && \
- touch .gitignore && \
- git add .gitignore && \
- git commit -m 'First post' && \
- git push origin master && \
- rm -rf /tmp/git-init-$TEMP && \
cd /git/$REPO.git/hooks && \
ln -s /git/hooks/* . && \
git config --add hooks.mailinglist bps-public-commit at lists.bestpractical.com && \
commit 1199a3ae158938e7b34d4a5d59bb00aba7210fa5
Author: Kevin Falcone <falcone at bestpractical.com>
Date: Wed Mar 31 15:41:19 2010 -0400
We no longer need to turn off fastforward denial
We create our repos without the .gitignore hack now,
so we can just push master into the repo
diff --git a/svn-to-git b/svn-to-git
index c909097..2cb9de8 100755
--- a/svn-to-git
+++ b/svn-to-git
@@ -36,9 +36,7 @@ git svn clone $OPTS --prefix svn/ --authors-file=${PWD}/authors.txt ${REPOPATH}
cd /tmp/svn-${GIT_REPO} && \
sh -c "$CLEANUP_CMD" && \
git svn-abandon-cleanup && \
-ssh git.bestpractical.com "cd ${INTOPATH}; git config receive.denyNonFastforwards false" && \
-git push --mirror git+ssh://git.bestpractical.com${INTOPATH} && \
-ssh git.bestpractical.com "cd ${INTOPATH}; git config receive.denyNonFastforwards true"
+git push --mirror git+ssh://git.bestpractical.com${INTOPATH}
echo "Please check the conversion."
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list