]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Render.pm
Add test for old versions of git that don't support --cleanup=verbatim, and munge...
[git.ikiwiki.info.git] / IkiWiki / Render.pm
index ab3ccd7aec0655035e7626bedc77e87053699ab5..90058199c128ebd68f7fa41c2e0f4d71c36e6d32 100644 (file)
@@ -319,6 +319,10 @@ sub refresh () { #{{{
        # check for added or removed pages
        foreach my $file (@files) {
                my $page=pagename($file);
+               if (exists $pagesources{$page} && $pagesources{$page} ne $file) {
+                       # the page has changed its type
+                       $forcerebuild{$page}=1;
+               }
                $pagesources{$page}=$file;
                if (! $pagemtime{$page}) {
                        if (isinternal($page)) {