]> git.ipfire.org Git - thirdparty/public-inbox.git/commitdiff
repobrowse: fix alignment of gitlink entries
authorEric Wong <e@80x24.org>
Thu, 7 Apr 2016 00:17:28 +0000 (00:17 +0000)
committerEric Wong <e@80x24.org>
Thu, 7 Apr 2016 00:18:20 +0000 (00:18 +0000)
We no longer display links to the "plain" and "log" views
from here, so reduce the padding used for this rarely-seen
type.

lib/PublicInbox/RepobrowseGitTree.pm

index 6e25200dfe6b270bab5ba59b61217aa7bde4ddc3..3900cf9d1ab83b123b82290c358ec5b4fea67297 100644 (file)
@@ -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/" }