Changed paths:
M pkg/vcs/git.go
M pkg/vcs/git_test.go
Log Message:
-----------
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.