X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=bin%2F19commit;fp=bin%2F19commit;h=0b4cd05db2d82b17b01296fa9734471693db1e33;hb=171120ce1b3245ed33956d882e06889c7cda2f87;hp=0000000000000000000000000000000000000000;hpb=89da4b96c4e2fce7079be8d2729750c088f8035b;p=freeside.git diff --git a/bin/19commit b/bin/19commit new file mode 100755 index 000000000..0b4cd05db --- /dev/null +++ b/bin/19commit @@ -0,0 +1,26 @@ +#!/usr/bin/perl + +# usage: 19commit '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 <