diff --git a/porch/repository/pkg/git/git.go b/porch/repository/pkg/git/git.go index b45da329bc..0be97c0fd3 100644 --- a/porch/repository/pkg/git/git.go +++ b/porch/repository/pkg/git/git.go @@ -213,7 +213,7 @@ func (r *gitRepository) ListPackageRevisions(ctx context.Context, filter reposit for _, p := range drafts { if filter.Matches(p) { - result = append(result, drafts...) + result = append(result, p) } }