projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69c22fa
)
force list context
author
Joey Hess
<joey@kitenet.net>
Wed, 16 Jun 2010 20:07:41 +0000
(16:07 -0400)
committer
Joey Hess
<joey@kitenet.net>
Wed, 16 Jun 2010 20:07:41 +0000
(16:07 -0400)
run_or_die returns a status code in scalar context
IkiWiki/Plugin/git.pm
patch
|
blob
|
history
diff --git
a/IkiWiki/Plugin/git.pm
b/IkiWiki/Plugin/git.pm
index bb3f89a82878c19766587a94e14a01b4092633c6..222692eda6ad4dacb3c901e8ba53f4310c75c89d 100644
(file)
--- a/
IkiWiki/Plugin/git.pm
+++ b/
IkiWiki/Plugin/git.pm
@@
-294,7
+294,7
@@
sub decode_git_file ($) {
# strip prefix if in a subdir
if (! defined $prefix) {
-
$prefix
= run_or_die('git', 'rev-parse', '--show-prefix');
+
($prefix)
= run_or_die('git', 'rev-parse', '--show-prefix');
if (! defined $prefix) {
$prefix="";
}