From 72a0284da93c97d390bcc9a0b0b04d0c77f9f281 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 11 Oct 2007 00:34:03 -0400 Subject: [PATCH 1/1] fix mr update when inside a repo --- mr | 1 + 1 file changed, 1 insertion(+) diff --git a/mr b/mr index 9a8f750..c15b3a3 100755 --- a/mr +++ b/mr @@ -128,6 +128,7 @@ foreach my $topdir (sort keys %config) { my $dir=$topdir.$subdir; if (defined $directory && + $dir ne $directory && $dir !~ /^\Q$directory\E\//) { print "mr $action: $dir skipped per -d parameter ($directory)\n" if $verbose; push @skipped, $dir; -- 2.39.5