From: Eric Wong Date: Wed, 2 Oct 2024 22:39:00 +0000 (+0000) Subject: viewvcs: close the
 tag if no query is extracted
X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb434e36bc1980e90f1e08210755fe60a9a56206;p=thirdparty%2Fpublic-inbox.git

viewvcs: close the 
 tag if no query is extracted

In the odd case we get a patch with no valid query and
no commit title, we still need to close the 
 tag
we started.
---

diff --git a/lib/PublicInbox/ViewVCS.pm b/lib/PublicInbox/ViewVCS.pm
index 14c2e4e3d..a29789fdd 100644
--- a/lib/PublicInbox/ViewVCS.pm
+++ b/lib/PublicInbox/ViewVCS.pm
@@ -291,6 +291,7 @@ EOM
 		# TODO: should there be another textarea which attempts to
 		# search for the exact email which was applied to make this
 		# commit?
+		print $zfh '
'; my ($rows, $q) = PublicInbox::View::dfqry_text $ctx, $s; if ($rows) { my $ibx_url = ibx_url_for($ctx); @@ -305,7 +306,7 @@ EOM $alt = ''; } print $zfh <
find related emails, including ancestors/descendants/conflicts