From d58096ec3135a9d04ce35bd3cf0a608b9c3b64de Mon Sep 17 00:00:00 2001 From: hiifong Date: Sun, 9 Jul 2023 17:09:06 +0800 Subject: [PATCH] Fix the wrong default branch name displayed by checkout (#25777) Related: #22743 Before: ![image](https://github.com/go-gitea/gitea/assets/89133723/3cec886c-589c-41a8-86af-a08b62b8adef) After: ![image](https://github.com/go-gitea/gitea/assets/89133723/74ee8adf-fca7-42a0-a67a-ecaa0ba91b4a) --- templates/repo/branch/list.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/repo/branch/list.tmpl b/templates/repo/branch/list.tmpl index d7ea299fd..e9d5cc1ef 100644 --- a/templates/repo/branch/list.tmpl +++ b/templates/repo/branch/list.tmpl @@ -33,7 +33,7 @@ {{if and $.IsWriter (not $.Repository.IsArchived) (not .IsDeleted)}}