about summary refs log tree commit homepage
path: root/lib/PublicInbox/RepoGitTree.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/PublicInbox/RepoGitTree.pm')
-rw-r--r--lib/PublicInbox/RepoGitTree.pm10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/PublicInbox/RepoGitTree.pm b/lib/PublicInbox/RepoGitTree.pm
index a4add619..5b428da0 100644
--- a/lib/PublicInbox/RepoGitTree.pm
+++ b/lib/PublicInbox/RepoGitTree.pm
@@ -83,16 +83,16 @@ sub git_blob_show {
         my $n = 0;
 
         my $rel = $req->{relcmd};
-        my $plain = join('/',
-                        "${rel}plain", $req->{-repo}->tip, @{$req->{extra}});
-        $plain = PublicInbox::Hval->utf8($plain)->as_path;
+        my $raw = join('/',
+                        "${rel}raw", $req->{-repo}->tip, @{$req->{extra}});
+        $raw = PublicInbox::Hval->utf8($raw)->as_path;
         my $t = cur_path($req);
         my $s = qq{\npath: $t\n\nblob $hex};
         my $end = '';
 
         $git->cat_file($hex, sub {
                 my ($cat, $left) = @_; # $$left == $size
-                $s .= qq{\t$$left bytes (<a\nhref="$plain">raw</a>)};
+                $s .= qq{\t$$left bytes (<a\nhref="$raw">raw</a>)};
                 $to_read = $$left if $to_read > $$left;
                 my $r = read($cat, my $buf, $to_read);
                 return unless defined($r) && $r > 0;
@@ -172,7 +172,7 @@ sub git_tree_sed ($) {
                         elsif ($m eq 'l') { $path = "<i>$path</i>" }
                         $s =~ s/\s+//g;
 
-                        # 'plain' and 'log' links intentionally omitted
+                        # 'raw' and 'log' links intentionally omitted
                         # for brevity and speed
                         $dst .= qq($m\t).
                                 qq($s\t<a\nhref="$pfx/$ref">$path</a>\n);