summaryrefslogtreecommitdiff
path: root/git-cvsimport-script
diff options
context:
space:
mode:
authorTommy M. McGuire <mcguire@crsr.net>2005-06-10 06:22:06 (GMT)
committerLinus Torvalds <torvalds@ppc970.osdl.org>2005-06-13 03:48:18 (GMT)
commit667628d97a5baf18ffa0c701cab6d00e7d812741 (patch)
tree5a6c4122d8f385c37b77e6c3be41a2086f822d53 /git-cvsimport-script
parent9939664a0bbd58373095cfb534c6f0191be656a6 (diff)
downloadgit-667628d97a5baf18ffa0c701cab6d00e7d812741.zip
git-667628d97a5baf18ffa0c701cab6d00e7d812741.tar.gz
git-667628d97a5baf18ffa0c701cab6d00e7d812741.tar.bz2
[PATCH] cvsimport: allow remote CVS repos
Remove unneeded sanity tests. Remote repositories do, indeed, just work. Signed-off-by: Tommy McGuire <mcguire@crsr.net> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'git-cvsimport-script')
-rwxr-xr-xgit-cvsimport-script2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-cvsimport-script b/git-cvsimport-script
index 7a43e65..936ed88 100755
--- a/git-cvsimport-script
+++ b/git-cvsimport-script
@@ -7,7 +7,7 @@ fi
export CVSROOT="$1"
export MODULE="$2"
-if [ ! "$CVSROOT" ] || [ ! "$MODULE" ] || [ ! -d $CVSROOT ] || [ ! -d $CVSROOT/CVSROOT ] || [ ! -d $CVSROOT/$MODULE ] ; then
+if [ ! "$CVSROOT" ] || [ ! "$MODULE" ] ; then
echo "Usage: git cvsimport <cvsroot> <module>"
exit 1
fi