From: Jakub Narebski Date: Mon, 28 Aug 2006 12:48:13 +0000 (+0200) Subject: gitweb: git_print_log: signoff line is non-empty line X-Git-Tag: v1.4.3-rc1~162 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=fba20b429a45a682796214140a7e92fac52a3dbe;p=git.git 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 Signed-off-by: Junio C Hamano --- diff --git a/gitweb/gitweb.perl b/gitweb/gitweb.perl index 6d53c8b95..24c2fe2a1 100755 --- a/gitweb/gitweb.perl +++ b/gitweb/gitweb.perl @@ -1407,6 +1407,7 @@ sub git_print_log ($;%) { foreach my $line (@$log) { if ($line =~ m/^ *(signed[ \-]off[ \-]by[ :]|acked[ \-]by[ :]|cc[ :])/i) { $signoff = 1; + $empty = 0; if (! $opts{'-remove_signoff'}) { print "" . esc_html($line) . "
\n"; next;