From eb434e36bc1980e90f1e08210755fe60a9a56206 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Wed, 2 Oct 2024 22:39:00 +0000 Subject: [PATCH] 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.
---
 lib/PublicInbox/ViewVCS.pm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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