From: Eric Wong Date: Thu, 7 Apr 2016 00:17:28 +0000 (+0000) Subject: repobrowse: fix alignment of gitlink entries X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=837d148aa24136eadc8dbdeeeef4f14134d61c3e;p=thirdparty%2Fpublic-inbox.git repobrowse: fix alignment of gitlink entries We no longer display links to the "plain" and "log" views from here, so reduce the padding used for this rarely-seen type. --- diff --git a/lib/PublicInbox/RepobrowseGitTree.pm b/lib/PublicInbox/RepobrowseGitTree.pm index 6e25200df..3900cf9d1 100644 --- a/lib/PublicInbox/RepobrowseGitTree.pm +++ b/lib/PublicInbox/RepobrowseGitTree.pm @@ -177,7 +177,7 @@ sub git_tree_show { if ($m eq 'g') { # TODO: support cross-repository gitlinks - $fh->write('g' . (' ' x 18) . "$path @ $x\n"); + $fh->write('g' . (' ' x 15) . "$path @ $x\n"); next; } elsif ($m eq 'd') { $path = "$path/" }