PatchListCacheImpl: Catch LargeObjectException

This is an uncaught exception that may be thrown by JGit DFS internals
during the ResolveMerger step if it attempts to content merge very
large files.

This method is ultimately called during push of a new merge change in
order to index it, preventing such changes from being used at all in
Gerrit. Users might think that pushing a merge with "-s ours" is
enough to avoid this problem, but the exception actually happens when
producing the automerged base.

Simply failing to produce the patch list in this case is not going to
make the review experience especially pleasant, but it will at least
allow changes to be pushed.

Change-Id: I54cb0e696ea2d285e9297e0ba17adbf3a2a3af72
1 file changed