]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/blobdiff - IkiWiki/Plugin/git.pm
comments: The formats allowed to be used in comments can be configured using comments...
[git.ikiwiki.info.git] / IkiWiki / Plugin / git.pm
index 0c0e27521aa55d0381041e75721a618e1f55cf43..3879abeae5b20e05d4f9c2990c270c6943982b65 100644 (file)
@@ -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.