X-Git-Url: https://git.madduck.net/code/myrepos.git/blobdiff_plain/dbf354fca4219193573881c279bfc0091b7323a4..68af08793da98e4f4285ca6c344cae31f6840706:/mr?ds=sidebyside 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"; \