From 07f4516dab899ff15a34e197a3622df6675f63cf Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Mon, 20 Feb 2012 00:34:50 -0800 Subject: fixup commit scripts for git --- bin/231add | 7 +++---- bin/231commit | 14 +++++++------- bin/23add | 5 ++--- bin/23commit | 8 ++++---- 4 files changed, 16 insertions(+), 18 deletions(-) (limited to 'bin') diff --git a/bin/231add b/bin/231add index ee9f8a456..c4b5437b4 100755 --- a/bin/231add +++ b/bin/231add @@ -9,15 +9,14 @@ my $dir = getcwd; ( my $prefix = $dir ) =~ s(^/home/$USER/freeside/?)() or die $dir; #eventually from anywhere system join('', - #"cvs add @ARGV && ", - "cvs add @ARGV ; ", + "git add @ARGV ; ", "( for file in @ARGV; do ", "cp -i \$file /home/$USER/freeside2.3/$prefix/`dirname \$file`;", "cp -i \$file /home/$USER/freeside2.1/$prefix/`dirname \$file`;", "done ) && ", "cd /home/$USER/freeside2.3/$prefix/ && ", - "cvs add @ARGV", + "git add @ARGV; ", "cd /home/$USER/freeside2.1/$prefix/ && ", - "cvs add @ARGV" + "git add @ARGV" ); diff --git a/bin/231commit b/bin/231commit index e0470058f..fa031b5d6 100755 --- a/bin/231commit +++ b/bin/231commit @@ -18,12 +18,12 @@ die "no files!" unless @ARGV; #print <