diff options
author | Michael Muré <batolettre@gmail.com> | 2020-10-04 20:46:38 +0200 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2020-10-04 20:46:38 +0200 |
commit | 5d1fc3ff393133a8aa67b97f9beecfe9b57c7e56 (patch) | |
tree | 2cefe4aa54c22eb8484310241db7cc4551f9b680 /repository/gogit.go | |
parent | 68e2a72b2a3047d84aba44f22751fb13b34553c1 (diff) | |
download | git-bug-5d1fc3ff393133a8aa67b97f9beecfe9b57c7e56.tar.gz git-bug-5d1fc3ff393133a8aa67b97f9beecfe9b57c7e56.zip |
repo: minor cleanup
Diffstat (limited to 'repository/gogit.go')
-rw-r--r-- | repository/gogit.go | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/repository/gogit.go b/repository/gogit.go index c0179628..efa8cda1 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()), |