summaryrefslogtreecommitdiff
path: root/bin/23commit
diff options
context:
space:
mode:
Diffstat (limited to 'bin/23commit')
-rwxr-xr-xbin/23commit8
1 files changed, 4 insertions, 4 deletions
diff --git a/bin/23commit b/bin/23commit
index e629a60e6..3416925d7 100755
--- a/bin/23commit
+++ b/bin/23commit
@@ -18,9 +18,9 @@ die "no files!" unless @ARGV;
#print <<END;
system join('',
- "( cd /home/$USER/freeside2.3/$prefix; cvs update @ARGV ) && ",
- "cvs diff -u @ARGV | ( cd /home/$USER/freeside2.3/$prefix; patch -p0 ) ",
- " && ( ( cvs commit -m $desc @ARGV & ); ",
- "( sleep 1;cd /home/$USER/freeside2.3/$prefix; cvs commit -m $desc @ARGV & ) )"
+ "( cd /home/$USER/freeside2.3/$prefix; git pull ) && ",
+ "git diff -u @ARGV | ( cd /home/$USER/freeside2.3/$prefix; patch -p0 ) ",
+ " && ( ( git commit -m $desc @ARGV && git push ); ",
+ "( cd /home/$USER/freeside2.3/$prefix; git commit -m $desc @ARGV && git push ) )"
);