|
|
|
@ -1079,6 +1079,7 @@ public class UploadPack {
|
|
|
|
|
|
|
|
|
|
private boolean reportInternalServerErrorOverSideband() { |
|
|
|
|
try { |
|
|
|
|
@SuppressWarnings("resource") |
|
|
|
|
SideBandOutputStream err = new SideBandOutputStream( |
|
|
|
|
SideBandOutputStream.CH_ERROR, |
|
|
|
|
SideBandOutputStream.SMALL_BUF, |
|
|
|
@ -1120,6 +1121,7 @@ public class UploadPack {
|
|
|
|
|
} catch (ServiceMayNotContinueException noPack) { |
|
|
|
|
if (sideband && noPack.getMessage() != null) { |
|
|
|
|
noPack.setOutput(); |
|
|
|
|
@SuppressWarnings("resource") |
|
|
|
|
SideBandOutputStream err = new SideBandOutputStream( |
|
|
|
|
SideBandOutputStream.CH_ERROR, |
|
|
|
|
SideBandOutputStream.SMALL_BUF, rawOut); |
|
|
|
|