Skip to content

Commit

Permalink
chore: update version to 2.9-2024.2.28-d29aa3754
Browse files Browse the repository at this point in the history
  • Loading branch information
pasha-codefresh committed Feb 28, 2024
1 parent d29aa37 commit a55a00e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.9-2024.2.28-b0f4f7ed9
2.9-2024.2.28-d29aa3754
6 changes: 3 additions & 3 deletions util/git/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -677,9 +677,9 @@ func (m *nativeGitClient) ChangedFiles(revision string, targetRevision string) (
return []string{}, nil
}

if !IsCommitSHA(revision) || !IsCommitSHA(targetRevision) {
return []string{}, fmt.Errorf("invalid revision provided, must be SHA")
}
//if !IsCommitSHA(revision) || !IsCommitSHA(targetRevision) {
// return []string{}, fmt.Errorf("invalid revision provided, must be SHA")
//}

out, err := m.runCmd("diff", "--name-only", fmt.Sprintf("%s..%s", revision, targetRevision))
if err != nil {
Expand Down

0 comments on commit a55a00e

Please sign in to comment.