Skip to content

Commit

Permalink
change git log request from head~1 to head (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
iignatevich authored May 29, 2024
1 parent 1a36376 commit 59ebcfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion artifact.go
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ func (s *ArtifactStorage) PrepareComparisonArtifact(comparisonDir string) error

archivePath = artifactPath
} else {
hash, errHash := s.repo.git.ResolveRevision("HEAD~1")
hash, errHash := s.repo.git.ResolveRevision("HEAD")
if errHash != nil {
return errHash
}
Expand Down

0 comments on commit 59ebcfd

Please sign in to comment.