mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 03:53:32 +01:00
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:
parent
4839f60cb8
commit
b82d4249f9
2 changed files with 2 additions and 6 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue