diff options
-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()), |