mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 03:53:32 +01:00
pgit.sh commit: Add support for --cvs
Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
parent
5f6e494743
commit
8e879fb51a
1 changed files with 10 additions and 1 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue