2 # Upload NEW Git Project to master.
7 if test -z "$SRC"; then
8 echo "Missing Source (CVS=get from CVS)"
12 echo "Missing Project"
15 if test -z "$DESC"; then
16 echo "Missing Description"
19 if test "$SRC" = "CVS"; then
23 git-cvsimport -A ../import.names -v $P
25 git clone --bare import_project ${P}.git
27 git clone --bare ${SRC} ${P}.git
29 touch ${P}.git/git-daemon-export-ok
30 echo $DESC > ${P}.git/description
31 scp -r ${P}.git git.indexdata.com:/var/cache/git