From ed5ded3ff86fc7c3eccfe28e59b30728e6bf9fbc 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 --- 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 3e7cd92066..62d1bbf2ba 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}}