projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a877cc5
)
Fix some warnigns in recent perls.
author
Shlomi Fish
<shlomif@shlomifish.org>
Mon, 17 Dec 2012 20:44:54 +0000
(22:44 +0200)
committer
Shlomi Fish
<shlomif@shlomifish.org>
Mon, 17 Dec 2012 20:44:54 +0000
(22:44 +0200)
All existing tests pass.
IkiWiki/Plugin/git.pm
patch
|
blob
|
history
diff --git
a/IkiWiki/Plugin/git.pm
b/IkiWiki/Plugin/git.pm
index 0c0e27521aa55d0381041e75721a618e1f55cf43..3879abeae5b20e05d4f9c2990c270c6943982b65 100644
(file)
--- a/
IkiWiki/Plugin/git.pm
+++ b/
IkiWiki/Plugin/git.pm
@@
-341,8
+341,8
@@
sub parse_diff_tree ($) {
my $dt_ref = shift;
# End of stream?
- return if !
defined
@{ $dt_ref } ||
- !defined
@{ $dt_ref }[0] || !length @{ $dt_ref }
[0];
+ return if ! @{ $dt_ref } ||
+ !defined
$dt_ref->[0] || !length $dt_ref->
[0];
my %ci;
# Header line.