mirror of
https://github.com/git/git
synced 2024-08-28 12:09:19 +00:00
gitweb: git_print_log: signoff line is non-empty line
This correct minor error in git_print_log that didn't add final empty line when requested, if commit log ended with signoff. Signed-off-by: Jakub Narebski <jnareb@gmail.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
parent
6fd92a28eb
commit
fba20b429a
|
@ -1407,6 +1407,7 @@ ($;%)
|
|||
foreach my $line (@$log) {
|
||||
if ($line =~ m/^ *(signed[ \-]off[ \-]by[ :]|acked[ \-]by[ :]|cc[ :])/i) {
|
||||
$signoff = 1;
|
||||
$empty = 0;
|
||||
if (! $opts{'-remove_signoff'}) {
|
||||
print "<span class=\"signoff\">" . esc_html($line) . "</span><br/>\n";
|
||||
next;
|
||||
|
|
Loading…
Reference in a new issue