about summary refs log tree commit homepage
path: root/lib/PublicInbox/RepoGitDiffCommon.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/PublicInbox/RepoGitDiffCommon.pm')
-rw-r--r--lib/PublicInbox/RepoGitDiffCommon.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/PublicInbox/RepoGitDiffCommon.pm b/lib/PublicInbox/RepoGitDiffCommon.pm
index 67adca68..46e243ed 100644
--- a/lib/PublicInbox/RepoGitDiffCommon.pm
+++ b/lib/PublicInbox/RepoGitDiffCommon.pm
@@ -126,9 +126,9 @@ sub git_diff_cc_hunk {
         if ($n == 0) { # deleted file (does this happen with --cc?)
                 $rv .= " $last";
         } else {
-                my $h = $req->{h};
+                my $H = $req->{H};
                 $rv .= qq( <a\nrel=nofollow);
-                $rv .= qq(\nhref="${rel}tree/$h/$path#n$n">$last</a>);
+                $rv .= qq(\nhref="${rel}tree/$H/$path#n$n">$last</a>);
         }
         $rv .= " $at" . utf8_html($ctx);
 }