From 96d578a30a157fa6dc4c66f95f4cab953fbebfb7 Mon Sep 17 00:00:00 2001 From: Aleksandr Nogikh Date: Tue, 17 Dec 2024 15:46:57 +0100 Subject: pkg/vcs: extend ListCommitHashes Support filtering by the commit date. --- pkg/vcs/vcs.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/vcs/vcs.go') diff --git a/pkg/vcs/vcs.go b/pkg/vcs/vcs.go index cb32a4071..494e9a673 100644 --- a/pkg/vcs/vcs.go +++ b/pkg/vcs/vcs.go @@ -63,7 +63,7 @@ type Repo interface { Contains(commit string) (bool, error) // ListCommitHashes lists all commit hashes reachable from baseCommit. - ListCommitHashes(baseCommit string) ([]string, error) + ListCommitHashes(baseCommit string, from time.Time) ([]string, error) // Object returns the contents of a git repository object at the particular moment in history. Object(name, commit string) ([]byte, error) -- cgit mrf-deployment