Handle empty diff in _diffs_to_change_files
An valid empty diff can be passed into _diffs_to_change_files if the modified file's contents is same as upstream. In this case, _diffs_to_change_files gets an IndexError. Bug: b/336555565 Change-Id: I848e6016a1e8089473ff8a72d2e0142fbabfda9f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/5635166 Reviewed-by: Josip Sokcevic <sokcevic@chromium.org> Commit-Queue: Gavin Mak <gavinmak@google.com>changes/66/5635166/3
parent
6cc020f612
commit
47a841a204
Loading…
Reference in New Issue