Make sure the "Object too large..." error is printed to the client

When receiving and object larger than receive.maxObjectSizeLimit, Gerrit
relied on the JGits ReceivePack.receive to print out the error message.
However, JGit didn't print out this error always. Sometimes it would
print the error and throw UnpackException and sometimes it would only
throw the UnpackException leaving the user without proper explanation
why the object was rejected.

With this change we print the error from Gerrit.

Change-Id: I5165ce0be86c91abf0ad02b5f7d8d2b1000dc493
1 file changed