mirror of
https://github.com/go-gitea/gitea
synced 2024-12-21 17:47:54 +01:00
fix a small nit (#13074)
Signed-off-by: a1012112796 <1012112796@qq.com>
This commit is contained in:
parent
144fa5a537
commit
a5ba8188da
@ -65,7 +65,7 @@ func newGit() {
|
|||||||
log.Fatal("Failed to map Git settings: %v", err)
|
log.Fatal("Failed to map Git settings: %v", err)
|
||||||
}
|
}
|
||||||
if err := git.SetExecutablePath(Git.Path); err != nil {
|
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
|
git.DefaultCommandExecutionTimeout = time.Duration(Git.Timeout.Default) * time.Second
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user