From: Joey Hess Date: Thu, 11 Oct 2007 18:29:28 +0000 (-0400) Subject: improve output for leaf dirs X-Git-Url: https://git.madduck.net/code/myrepos.git/commitdiff_plain/9cc319d2589c13bbde96640c10ca7005abb336fd improve output for leaf dirs --- diff --git a/mr b/mr index fd0ba15..ab93c7d 100755 --- a/mr +++ b/mr @@ -314,7 +314,12 @@ sub action { push @skipped, $dir; } else { - print "mr $action: $dir\n"; + if (! $nochdir) { + print "mr $action: $dir\n"; + } + else { + print "mr $action: $dir (in subdir $directory)\n"; + } my $command="set -e; ".$lib. "my_action(){ $config{$topdir}{$subdir}{$action} ; }; my_action ". join(" ", map { s/\//\/\//g; s/"/\"/g; '"'.$_.'"' } @ARGV);