From 59ebcfd9d2b6ebe04e2ba0e2bdcd93005c549b48 Mon Sep 17 00:00:00 2001 From: Igor Ignatyev <106526746+iignatevich@users.noreply.github.com> Date: Wed, 29 May 2024 19:23:10 +0300 Subject: [PATCH] change git log request from head~1 to head (#35) --- artifact.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artifact.go b/artifact.go index bcb7b88..fe99dbe 100644 --- a/artifact.go +++ b/artifact.go @@ -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 }