Changed paths:
M pkg/vcs/git.go
M pkg/vcs/git_test.go
Log Message:
-----------
pkg/vcs: fix repetitive change handling in BaseForDiff
The current implementation runs into problems if we modify the same file
several times in the patch series since the sequential blob hashes will
not be found in the reproducer.
Fix it by moving the check for already processed files up.