From d42165f0bbcfb858d3a224d55db8ac3c0dd38e2b Mon Sep 17 00:00:00 2001 From: wxiaoguang Date: Fri, 21 Jun 2024 07:28:34 +0800 Subject: [PATCH] Fix the link for .git-blame-ignore-revs bypass (#31432) A quick fix for #31429 (cherry picked from commit ed5ded3ff86fc7c3eccfe28e59b30728e6bf9fbc) --- templates/repo/blame.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/repo/blame.tmpl b/templates/repo/blame.tmpl index 01978dacf7..691f75dcad 100644 --- a/templates/repo/blame.tmpl +++ b/templates/repo/blame.tmpl @@ -2,7 +2,7 @@ {{$revsFileLink := URLJoin .RepoLink "src" .BranchNameSubURL "/.git-blame-ignore-revs"}} {{if .UsesIgnoreRevs}}
-

{{ctx.Locale.Tr "repo.blame.ignore_revs" $revsFileLink (print $revsFileLink "?bypass-blame-ignore=true")}}

+

{{ctx.Locale.Tr "repo.blame.ignore_revs" $revsFileLink "?bypass-blame-ignore=true"}}

{{else}}