]> sipb.mit.edu Git - ikiwiki.git/blobdiff - IkiWiki/Plugin/git.pm
brace style and layout
[ikiwiki.git] / IkiWiki / Plugin / git.pm
index c5c83a3a7791b7723f293652b6557fc5f50b558c..786c7b1f246652d5d0ba73ec0f839535be5e7430 100644 (file)
@@ -419,7 +419,10 @@ sub git_sha1 (;$) {
                '--', $file);
        if ($sha1) {
                ($sha1) = $sha1 =~ m/($sha1_pattern)/; # sha1 is untainted now
                '--', $file);
        if ($sha1) {
                ($sha1) = $sha1 =~ m/($sha1_pattern)/; # sha1 is untainted now
-       } else { debug("Empty sha1sum for '$file'.") }
+       }
+       else {
+               debug("Empty sha1sum for '$file'.");
+       }
        return defined $sha1 ? $sha1 : q{};
 }
 
        return defined $sha1 ? $sha1 : q{};
 }