From 5d1fc3ff393133a8aa67b97f9beecfe9b57c7e56 Mon Sep 17 00:00:00 2001 From: Michael Muré Date: Sun, 4 Oct 2020 20:46:38 +0200 Subject: repo: minor cleanup --- repository/gogit.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'repository/gogit.go') diff --git a/repository/gogit.go b/repository/gogit.go index c0179628b..efa8cda1a 100644 --- a/repository/gogit.go +++ b/repository/gogit.go @@ -446,14 +446,14 @@ func (repo *GoGitRepo) StoreCommitWithParent(treeHash Hash, parent Hash) (Hash, commit := object.Commit{ Author: object.Signature{ - cfg.Author.Name, - cfg.Author.Email, - time.Now(), + Name: cfg.Author.Name, + Email: cfg.Author.Email, + When: time.Now(), }, Committer: object.Signature{ - cfg.Committer.Name, - cfg.Committer.Email, - time.Now(), + Name: cfg.Committer.Name, + Email: cfg.Committer.Email, + When: time.Now(), }, Message: "", TreeHash: plumbing.NewHash(treeHash.String()), -- cgit v1.2.3