From 4f5d50c6a24ff8a96c0bf25d67571c4142cbea8c Mon Sep 17 00:00:00 2001 From: ivan Date: Thu, 21 Jul 2011 17:53:55 +0000 Subject: 2.3 branch --- bin/23commit | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100755 bin/23commit (limited to 'bin/23commit') diff --git a/bin/23commit b/bin/23commit new file mode 100755 index 000000000..e629a60e6 --- /dev/null +++ b/bin/23commit @@ -0,0 +1,26 @@ +#!/usr/bin/perl + +# usage: 23commit 'log message' filename filename ... + +use Cwd; +use String::ShellQuote; + +my $USER = $ENV{USER}; + +my $dir = getcwd; +( my $prefix = $dir ) =~ s(^/home/$USER/freeside/?)() or die $dir; #eventually from anywhere + +my $desc = shell_quote(shift @ARGV); # -m + +die "no files!" unless @ARGV; + +#warn "$prefix"; + +#print <