diff --git a/scripts/pgit.sh b/scripts/pgit.sh index c876a694..94b4a675 100644 --- a/scripts/pgit.sh +++ b/scripts/pgit.sh @@ -66,7 +66,12 @@ run() commit() {( - local d + local d do_cvs + + if [ "$1" = --cvs ]; then + do_cvs=true + shift + fi config cd $pdir @@ -79,6 +84,10 @@ commit() fi run_git -C $d commit "$@" done + + if [ "$do_cvs" = true -a -d CVS ]; then + cvs commit "$@" + fi )} clone()