projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
252e3f6
)
fix bug if git_root is "0"
author
Joey Hess
<joey@kitenet.net>
Mon, 4 Oct 2010 20:01:21 +0000
(16:01 -0400)
committer
Joey Hess
<joey@kitenet.net>
Mon, 4 Oct 2010 20:01:21 +0000
(16:01 -0400)
IkiWiki/Plugin/git.pm
patch
|
blob
|
history
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};