Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions vcs/gitcmd/repo.go
Original file line number Diff line number Diff line change
Expand Up @@ -493,11 +493,11 @@ func (r *Repository) commitLog(opt vcs.CommitsOptions) ([]*vcs.Commit, uint, err

authorTime, err := strconv.ParseInt(string(parts[3]), 10, 64)
if err != nil {
return nil, 0, fmt.Errorf("parsing git commit author time: %s", err)
return nil, 0, fmt.Errorf("parsing git commit author time: %w", err)
}
committerTime, err := strconv.ParseInt(string(parts[6]), 10, 64)
if err != nil {
return nil, 0, fmt.Errorf("parsing git commit committer time: %s", err)
return nil, 0, fmt.Errorf("parsing git commit committer time: %w", err)
}

var parents []vcs.CommitID
Expand Down