]> git.madduck.net Git - code/myrepos.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

improve output for leaf dirs
authorJoey Hess <joey@kodama.kitenet.net>
Thu, 11 Oct 2007 18:29:28 +0000 (14:29 -0400)
committerJoey Hess <joey@kodama.kitenet.net>
Thu, 11 Oct 2007 18:29:28 +0000 (14:29 -0400)
mr

diff --git a/mr b/mr
index fd0ba15748c8f9e82442368a5d19e583ac84e5be..ab93c7d48944ec138d0b4620318c93714fccb80d 100755 (executable)
--- 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);