]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
fix $git_root caching
authorJoey Hess <joey@kitenet.net>
Mon, 4 Oct 2010 20:35:17 +0000 (16:35 -0400)
committerJoey Hess <joey@kitenet.net>
Mon, 4 Oct 2010 20:35:17 +0000 (16:35 -0400)
IkiWiki/Plugin/git.pm

index 794afb74065ab919f942a88799a61db24eb1476d..5922494bce8859124b99dcd53613ca7c49320fe6 100644 (file)
@@ -741,7 +741,7 @@ sub git_find_root {
                }
        }
 
-       return $subdir;
+       return $git_root=$subdir;
 }
 
 }