Fix NPE in uploadvalidator
Change I4081375e033 migrated uploadvalidator to use DiffOperations. The
implementation uses two different sources:
1) CommitUtils#getChangedContent to get the changed files (regular,
executable) and their content.
2) DiffOperations (previously PatchListCache) to get the list of edits.
We loop on changed files using the file paths of , but we check the
edits from . We need to check if the file path exists in
DiffOperation's output map. Sometimes DiffOperations skips some files,
for example if files that were due to rebase.
Bug: Google b/203216894
2 files changed