]> git.vanrenterghem.biz Git - git.ikiwiki.info.git/commitdiff
brace style and layout
authorJoey Hess <joey@gnu.kitenet.net>
Mon, 18 Jan 2010 17:34:19 +0000 (12:34 -0500)
committerJoey Hess <joey@gnu.kitenet.net>
Mon, 18 Jan 2010 17:34:19 +0000 (12:34 -0500)
IkiWiki/Plugin/git.pm
IkiWiki/Plugin/monotone.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
-       } else { debug("Empty sha1sum for '$file'.") }
+       }
+       else {
+               debug("Empty sha1sum for '$file'.");
+       }
        return defined $sha1 ? $sha1 : q{};
 }
 
index c717ceefb71b2ffc24c432711400a7548aa03a40..9502804f19637e1ec905b88758091f93d2c0953c 100644 (file)
@@ -558,7 +558,8 @@ sub rcs_recentchanges ($) {
                                        # from the changelog
                                        if ($cert->{key} eq $config{mtnkey}) {
                                                $committype = "web";
-                                       } else {
+                                       }
+                                       else {
                                                $committype = "mtn";
                                        }
                                } elsif ($cert->{name} eq "date") {