From 6a5a5eae620f0c98eb5c18c24d9c989879508292 Mon Sep 17 00:00:00 2001 From: Ivan Kohler Date: Thu, 4 Jun 2015 14:03:12 -0700 Subject: ivan's stupid multi-branch tools, don't use them --- bin/43commit | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100755 bin/43commit (limited to 'bin/43commit') diff --git a/bin/43commit b/bin/43commit new file mode 100755 index 000000000..7e3155f92 --- /dev/null +++ b/bin/43commit @@ -0,0 +1,29 @@ +#!/usr/bin/perl + +# usage: 43commit '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 <