diff options
Diffstat (limited to 'modules/repository')
-rw-r--r-- | modules/repository/init.go | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/modules/repository/init.go b/modules/repository/init.go index f8c7a89552..285fe81dbe 100644 --- a/modules/repository/init.go +++ b/modules/repository/init.go @@ -317,11 +317,6 @@ func initRepoCommit(ctx context.Context, tmpPath string, repo *repo_model.Reposi return fmt.Errorf("git add --all: %v", err) } - err = git.LoadGitVersion() - if err != nil { - return fmt.Errorf("Unable to get git version: %v", err) - } - args := []string{ "commit", fmt.Sprintf("--author='%s <%s>'", sig.Name, sig.Email), "-m", "Initial commit", |