brace style and layout

master
Joey Hess 2010-01-18 12:34:19 -05:00
parent 32472c02eb
commit ccf14b185e
2 changed files with 6 additions and 2 deletions

View 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{};
}

View 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") {