From 4d3ea41416450e69c157f11e2e9057bc764c1e96 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Thu, 31 Dec 2015 03:22:33 +0000 Subject: [PATCH] repobrowse: log display for parents includes commit link For consistency, it probably makes sense to include the extra link to each of the parent commits for the user to follow. --- lib/PublicInbox/RepoBrowseGitLog.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/PublicInbox/RepoBrowseGitLog.pm b/lib/PublicInbox/RepoBrowseGitLog.pm index a4245d0ad..8a9ad3cb1 100644 --- a/lib/PublicInbox/RepoBrowseGitLog.pm +++ b/lib/PublicInbox/RepoBrowseGitLog.pm @@ -107,8 +107,9 @@ sub git_log_stream { next if $seen{$p}; $seen{$p} = ++$np; my $s = git_commit_title($git, $p); + $m .= qq(\n$p\t); $s = defined($s) ? utf8_html($s) : ''; - $m .= qq(\n$p\t$s); + $m .= qq($s); } my $foot = $showmsg ? "
\t\t$x\n\n" : "\n\t\t$x\n\n";
 	if ($np == 0) {
@@ -116,7 +117,7 @@ sub git_log_stream {
 	} elsif ($np > 1) {
 		$foot .= "Parent commits to follow (multiple choice):\n";
 	} else {
-		$foot .= "Next parent:\n";
+		$foot .= "Next parent to follow:\n";
 	}
 	$fh->write($foot .= $m . '
'); } -- 2.47.3