From cc64df2ee55b8157e94be4d4adff17727433ff60 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Wed, 12 Mar 2008 11:33:45 +0100 Subject: [PATCH] Pass option -u to git-cvsimport. Omit scp upload. --- id-cvs-to-git.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/id-cvs-to-git.sh b/id-cvs-to-git.sh index ee335fb..4d07723 100755 --- a/id-cvs-to-git.sh +++ b/id-cvs-to-git.sh @@ -1,5 +1,5 @@ #!/bin/sh -# id-cvs-to-git.sh: Uploads new Git Project to public (bare) +# id-cvs-to-git.sh: Creates new bare Git Project from CVS # # Usage: # id-cvs-to-git.sh source project description @@ -31,7 +31,7 @@ if test "$SRC" = "CVS"; then rm -fr import_project mkdir import_project cd import_project - git-cvsimport -A ../import.names -v $P + git-cvsimport -u -A ../import.names -v $P cd .. git clone --bare import_project ${P}.git else @@ -39,4 +39,3 @@ else fi touch ${P}.git/git-daemon-export-ok echo $DESC > ${P}.git/description -scp -r ${P}.git git.indexdata.com:/home/git/pub -- 1.7.10.4