From 68af08793da98e4f4285ca6c344cae31f6840706 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 11 Oct 2007 01:23:37 -0400 Subject: [PATCH] action abbrevs --- mr | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mr b/mr index 4396e83..72c917c 100755 --- a/mr +++ b/mr @@ -225,7 +225,8 @@ sub action { } else { print "mr $action: in $dir\n"; - my $command="set -e; my_action(){ $config{$topdir}{$subdir}{$action} ; }; my_action @ARGV"; + my $command="set -e; my_action(){ $config{$topdir}{$subdir}{$action} ; }; my_action ". + join(" ", map { s/\//\/\//g; s/"/\"/g; '"'.$_.'"' } @ARGV); my $ret=system($command); if ($ret != 0) { print STDERR "mr $action: failed to run: $command\n" if $verbose; @@ -367,7 +368,6 @@ commit = \ if [ -d .svn ]; then \ svn commit "$@"; \ elif [ -d .git ]; then \ - echo "foo: $@" \ git commit -a "$@" \ else \ echo "mr commit: unknown repo type"; \ -- 2.39.5