pgit.sh commit: Add support for --cvs

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2017-10-06 14:15:54 +00:00
commit 8e879fb51a

View file

@ -66,7 +66,12 @@ run()
commit() commit()
{( {(
local d local d do_cvs
if [ "$1" = --cvs ]; then
do_cvs=true
shift
fi
config config
cd $pdir cd $pdir
@ -79,6 +84,10 @@ commit()
fi fi
run_git -C $d commit "$@" run_git -C $d commit "$@"
done done
if [ "$do_cvs" = true -a -d CVS ]; then
cvs commit "$@"
fi
)} )}
clone() clone()