projects
/
ikiwiki.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix bug if git_root is "0"
[ikiwiki.git]
/
IkiWiki
/
Plugin
/
git.pm
diff --git
a/IkiWiki/Plugin/git.pm
b/IkiWiki/Plugin/git.pm
index 457975d953225f7d916282086008014aeff45e67..b6ed6142839b7a4cfdefbbf4d3fb959a75afaf8b 100644
(file)
--- a/
IkiWiki/Plugin/git.pm
+++ b/
IkiWiki/Plugin/git.pm
@@
-729,7
+729,7
@@
sub git_find_root {
# Determine if it is in a subdirectory by examining the srcdir,
# and its parents, looking for the .git directory.
- return $git_root if $git_root;
+ return $git_root if
defined
$git_root;
my $subdir="";
my $dir=$config{srcdir};