Skip to content

codeintel: Return resolved rev from CommitDate

Administrator requested to merge ef/commit-date-resolve-id into main

Created by: efritz

This PR additionally returns the resolved rev from the revlike given to CommitDate in the gitserver client layer.

See enterprise/internal/codeintel/policies/matcher.go for the significant difference: we want to return commit instead of policy.Pattern when previewing the configuration policy in the UI. Before, we would see the preview for any input be input <badged>input</badged>, where now we will see resolved-rev <badged>input</badged>, as expected.

Merge request reports

Loading