X-Git-Url: https://git.madduck.net/code/myrepos.git/blobdiff_plain/f6c757a40f1c19bfabeb673d02ede27255259f78..68af08793da98e4f4285ca6c344cae31f6840706:/mr?ds=sidebyside diff --git a/mr b/mr index 6988ed2..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,7 @@ commit = \ if [ -d .svn ]; then \ svn commit "$@"; \ elif [ -d .git ]; then \ - git commit -a "$@" && git push --all; \ + git commit -a "$@" \ else \ echo "mr commit: unknown repo type"; \ exit 1; \