]> 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:

* Fix a bug caused by a stupid typo.
authorJoey Hess <joey@kodama.kitenet.net>
Thu, 18 Oct 2007 19:01:17 +0000 (15:01 -0400)
committerJoey Hess <joey@kodama.kitenet.net>
Thu, 18 Oct 2007 19:01:17 +0000 (15:01 -0400)
debian/changelog
mr

index bfac297e95dd20b604a392ba5b743802c2c7b4ab..8fa6c0911814d47a752882cb920d42720e13243b 100644 (file)
@@ -5,8 +5,9 @@ mr (0.4) UNRELEASED; urgency=low
     to stop mr.
   * Ensure parent dir exists prior to checkout. (madduck)
   * Output list of failed repos to stderr when -s is used.
+  * Fix a bug caused by a stupid typo.
 
- -- Joey Hess <joeyh@debian.org>  Thu, 18 Oct 2007 14:56:58 -0400
+ -- Joey Hess <joeyh@debian.org>  Thu, 18 Oct 2007 15:00:00 -0400
 
 mr (0.3) unstable; urgency=low
 
diff --git a/mr b/mr
index 95a7fe86a77535968990064cdad62c573a1a3227..e41264c12e9214027dcb8d9b06b6ec413e95e273 100755 (executable)
--- a/mr
+++ b/mr
@@ -362,7 +362,7 @@ foreach my $topdir (sort keys %config) {
                my $d=$directory;
                $dir.="/" unless $dir=~/\/$/;
                $d.="/" unless $d=~/\/$/;
-               next if $dir ne $directory && $dir !~ /^\Q$directory\E/;
+               next if $dir ne $d && $dir !~ /^\Q$d\E/;
                push @repos, [$dir, $topdir, $subdir];
        }
 }