]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/git.pm
Make srcfile() return undef, if the file isn't there.
[git.ikiwiki.info.git] / IkiWiki / Plugin / git.pm
index 786c7b1f246652d5d0ba73ec0f839535be5e7430..1eec6aee61eaf2c28e0e2187236dcec02db95ca9 100644 (file)
@@ -51,6 +51,9 @@ sub checkconfig () {
                        wrappermode => (defined $config{git_wrappermode} ? $config{git_wrappermode} : "06755"),
                };
        }
+
+       # Avoid notes, parser does not handle and they only slow things down.
+       $ENV{GIT_NOTES_REF}="";
        
        # Run receive test only if being called by the wrapper, and not
        # when generating same.