pgit.sh: Remove CVS support

Don't identify projects directory by a the presence of a correct CVS
subdirectory any longer.

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2025-11-17 11:30:59 +01:00
commit b82d4249f9
2 changed files with 2 additions and 6 deletions

View file

@ -31,7 +31,7 @@ config()
[ "$pdir" ] || {
# guess pdir
pdir=`pwd`
while [ `cat $pdir/CVS/Repository 2>/dev/null` != proj ]; do
while [ ! -r Makefile ] || ! grep -q some-random-string-to-id-this-makefile Makefile; do
[ "$pdir" = / ] && fatal "didn't find \"proj\" in directory components"
pdir=`dirname $pdir`
done
@ -96,10 +96,6 @@ commit()
fi
run_git -C $d commit "$@"
done
if [ "$do_cvs" = true -a -d CVS ]; then
cvs commit "$@"
fi
)}
clone()