From 94cac3b66f78e5f1ce59b72cd6b6e0cf47e721ef Mon Sep 17 00:00:00 2001
From: Gusted <postmaster@gusted.xyz>
Date: Mon, 22 Jan 2024 21:59:07 +0100
Subject: [PATCH] [GITEA] Fix typo in formatting error

- The `c` isn't suposse to be there, it's not a formatter.
---
 services/repository/branch.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/services/repository/branch.go b/services/repository/branch.go
index 7cd2c34d25..afd1ed1bf5 100644
--- a/services/repository/branch.go
+++ b/services/repository/branch.go
@@ -368,7 +368,7 @@ func DeleteBranch(ctx context.Context, doer *user_model.User, repo *repo_model.R
 
 	rawBranch, err := git_model.GetBranch(ctx, repo.ID, branchName)
 	if err != nil {
-		return fmt.Errorf("GetBranch: %vc", err)
+		return fmt.Errorf("GetBranch: %v", err)
 	}
 
 	objectFormat, err := gitRepo.GetObjectFormat()