From: Joey Hess Date: Mon, 4 Oct 2010 20:35:17 +0000 (-0400) Subject: fix $git_root caching X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=80da2b28403a7b2c9dd797e8acecdbe8088ec279;p=ikiwiki.git fix $git_root caching --- diff --git a/IkiWiki/Plugin/git.pm b/IkiWiki/Plugin/git.pm index 794afb740..5922494bc 100644 --- a/IkiWiki/Plugin/git.pm +++ b/IkiWiki/Plugin/git.pm @@ -741,7 +741,7 @@ sub git_find_root { } } - return $subdir; + return $git_root=$subdir; } }