From a3529d662f1fd90d59314f518ad225f87f913972 Mon Sep 17 00:00:00 2001 From: Giteabot Date: Fri, 21 Jun 2024 14:47:11 +0800 Subject: [PATCH] Fix the link for .git-blame-ignore-revs bypass (#31432) (#31442) Backport #31432 by wxiaoguang Co-authored-by: wxiaoguang --- 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 4ad3ed85c9..091196b9f6 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}}