From ca74b074ea84dea1c37f7bd04b299de602e57e8c Mon Sep 17 00:00:00 2001 From: Lunny Xiao Date: Sun, 13 Aug 2023 17:04:42 +0800 Subject: [PATCH] Use correct pull request commit link instead of a generic commit link (#26434) Replace #26197 Since #25528 merged, the links of pull request commits should be redirect to pull file changes UI but not the generic one. --------- Co-authored-by: Giteabot --- templates/repo/commits_list.tmpl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/templates/repo/commits_list.tmpl b/templates/repo/commits_list.tmpl index 9f1d182158..b9b42ebb23 100644 --- a/templates/repo/commits_list.tmpl +++ b/templates/repo/commits_list.tmpl @@ -43,6 +43,8 @@ {{end}} {{if $.PageIsWiki}} + {{else if $.PageIsPullCommits}} + {{else if $.Reponame}} {{else}} @@ -54,6 +56,8 @@ {{end}} {{if $.PageIsWiki}} + {{else if $.PageIsPullCommits}} + {{else if $.Reponame}} {{else}}