From: Simon McVittie <smcv@debian.org>
Date: Tue, 9 Jun 2015 08:47:40 +0000 (+0100)
Subject: brokenlinks: sort the pages that link to the missing page, for better reproducibility
X-Git-Tag: 3.20150610~10
X-Git-Url: http://git.vanrenterghem.biz/git.ikiwiki.info.git/commitdiff_plain/8e007666d4ad28331bafa14d38b14a1e82be539d

brokenlinks: sort the pages that link to the missing page, for better reproducibility
---

diff --git a/IkiWiki/Plugin/brokenlinks.pm b/IkiWiki/Plugin/brokenlinks.pm
index 8ee734bf9..2318298fe 100644
--- a/IkiWiki/Plugin/brokenlinks.pm
+++ b/IkiWiki/Plugin/brokenlinks.pm
@@ -39,7 +39,7 @@ sub preprocess (@) {
 			htmllink($page, $params{destpage}, $link, noimageinline => 1),
 			join(", ", map {
 				htmllink($params{page}, $params{destpage}, $_, 	noimageinline => 1)
-			} @pages)
+			} sort @pages)
 		);
 	}
 	
diff --git a/debian/changelog b/debian/changelog
index d78dbd69f..896975e89 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -26,6 +26,8 @@ ikiwiki (3.20150330) UNRELEASED; urgency=medium
   * debian: build the docwiki with LC_ALL=C.UTF-8 and TZ=UTC
   * debian/copyright: consolidate permissive licenses
   * debian/copyright: turn comments on provenance into Comment
+  * brokenlinks: sort the pages that link to the missing page, for
+    better reproducibility
 
  -- Joey Hess <id@joeyh.name>  Tue, 28 Apr 2015 12:24:08 -0400