Disable PackParser EOF check if more data expected
The PackParser EOF check is incompatible with the expect data after pack footer flag, so turn off the EOF check if the expecting data flag is true. Change-Id: I697ebd9e1d1eed765d00aecaef955cf978cfd0b9
This commit is contained in:
parent
6ba8b038ce
commit
94f67a9cdc
|
@ -924,7 +924,8 @@ private void receivePack() throws IOException {
|
|||
parser.setAllowThin(true);
|
||||
parser.setNeedNewObjectIds(checkReferencedIsReachable);
|
||||
parser.setNeedBaseObjectIds(checkReferencedIsReachable);
|
||||
parser.setCheckEofAfterPackFooter(!biDirectionalPipe);
|
||||
parser.setCheckEofAfterPackFooter(!biDirectionalPipe
|
||||
&& !isExpectDataAfterPackFooter());
|
||||
parser.setExpectDataAfterPackFooter(isExpectDataAfterPackFooter());
|
||||
parser.setObjectChecking(isCheckReceivedObjects());
|
||||
parser.setLockMessage(lockMsg);
|
||||
|
|
Loading…
Reference in New Issue