summaryrefslogtreecommitdiffstats
path: root/modules/setting/git.go
diff options
context:
space:
mode:
author赵智超 <1012112796@qq.com>2020-10-08 23:50:17 +0800
committerGitHub <noreply@github.com>2020-10-08 11:50:17 -0400
commita5ba8188da1e68865643b4c3d9f8d891bfb2108a (patch)
tree8bca69c93d6d931623e67bfd0af444e0e03e9090 /modules/setting/git.go
parent144fa5a53746387b1c124c10cd7d70cb5cebc26f (diff)
downloadgitea-a5ba8188da1e68865643b4c3d9f8d891bfb2108a.tar.gz
gitea-a5ba8188da1e68865643b4c3d9f8d891bfb2108a.zip
fix a small nit (#13074)
Signed-off-by: a1012112796 <1012112796@qq.com>
Diffstat (limited to 'modules/setting/git.go')
-rw-r--r--modules/setting/git.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/setting/git.go b/modules/setting/git.go
index 9136ea7f17..d696f5f18a 100644
--- a/modules/setting/git.go
+++ b/modules/setting/git.go
@@ -65,7 +65,7 @@ func newGit() {
log.Fatal("Failed to map Git settings: %v", err)
}
if err := git.SetExecutablePath(Git.Path); err != nil {
- log.Fatal("Failed to initialize Git settings", err)
+ log.Fatal("Failed to initialize Git settings: %v", err)
}
git.DefaultCommandExecutionTimeout = time.Duration(Git.Timeout.Default) * time.Second