Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
gitweb: git_print_log: signoff line is non-empty line
author
Jakub Narebski
<jnareb@gmail.com>
Mon, 28 Aug 2006 12:48:13 +0000
(14:48 +0200)
committer
Junio C Hamano
<junkio@cox.net>
Mon, 28 Aug 2006 23:21:35 +0000
(16:21 -0700)
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>
gitweb/gitweb.perl
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
6fd92a2
)
diff --git
a/gitweb/gitweb.perl
b/gitweb/gitweb.perl
index 6d53c8b9563da00254272f4cc7863cbc3b173dd1..24c2fe2a1b552b6f6d520be04ca267247c136c83 100755
(executable)
--- a/
gitweb/gitweb.perl
+++ b/
gitweb/gitweb.perl
@@
-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;