aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/csource/testdata
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2026-01-15 16:27:44 +0100
committerAleksandr Nogikh <nogikh@google.com>2026-01-16 10:03:21 +0000
commit20d37d280693b1646e3bd33ab3d8a0a947830a8e (patch)
tree6f93d858125f8c627f26ca54d0e9809d2c2f1cd8 /pkg/csource/testdata
parent0c2e1647a23d32431208ff218f6ee59cd9c216b5 (diff)
pkg/vcs: be more strict in BaseForDiff
Do not tolerate unknown blob hashes - it means that we are unable to find the correct base commit given the repository. Explicitly ignore newly added files - we definitely won't find their hashes. Explicitly skip malformed patches that won't have any blob hashes - otherwise we could end up with too many candidates and waste too much time.
Diffstat (limited to 'pkg/csource/testdata')
0 files changed, 0 insertions, 0 deletions