From c9dbcd29e5fc244845434a7ccbf96067831315bb Mon Sep 17 00:00:00 2001 From: joey Date: Wed, 23 Aug 2006 06:44:47 +0000 Subject: [PATCH] * Make pagespec merge code smarter about merging duplicate pagespecs. --- IkiWiki.pm | 2 ++ debian/changelog | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/IkiWiki.pm b/IkiWiki.pm index b9ae74f85..5ebec5d0b 100644 --- a/IkiWiki.pm +++ b/IkiWiki.pm @@ -544,6 +544,8 @@ sub pagespec_merge ($$) { #{{{ my $a=shift; my $b=shift; + return $a if $a eq $b; + # Support for old-style GlobLists. if (is_globlist($a)) { $a=globlist_to_pagespec($a); diff --git a/debian/changelog b/debian/changelog index 73a1dc18e..4f7342cde 100644 --- a/debian/changelog +++ b/debian/changelog @@ -13,8 +13,9 @@ ikiwiki (1.22) UNRELEASED; urgency=low * Add a template plugin. * Use the template plugin to add infoboxes to each plugin page listing basic info about the plugin. + * Make pagespec merge code smarter about merging duplicate pagespecs. - -- Joey Hess Tue, 22 Aug 2006 23:09:46 -0400 + -- Joey Hess Wed, 23 Aug 2006 02:38:34 -0400 ikiwiki (1.21) unstable; urgency=low -- 2.44.0