private boolean askForIsComplete() throws TransportException { try { try (ObjectWalk ow = new ObjectWalk(transport.local)) { for (ObjectId want : askFor.keySet()) ow.markStart(ow.parseAny(want)); for (Ref ref : localRefs().values()) ow.markUninteresting(ow.parseAny(ref.getObjectId())); ow.checkConnectivity(); } return true; } catch (MissingObjectException e) { return false; } catch (IOException e) { throw new TransportException(JGitText.get().unableToCheckConnectivity, e); } }
ow.checkConnectivity(); } catch (MissingObjectException e) { errors.getMissingObjects().add(e.getObjectId());
private boolean askForIsComplete() throws TransportException { try { try (final ObjectWalk ow = new ObjectWalk(transport.local)) { for (final ObjectId want : askFor.keySet()) ow.markStart(ow.parseAny(want)); for (final Ref ref : localRefs().values()) ow.markUninteresting(ow.parseAny(ref.getObjectId())); ow.checkConnectivity(); } return true; } catch (MissingObjectException e) { return false; } catch (IOException e) { throw new TransportException(JGitText.get().unableToCheckConnectivity, e); } }
private boolean askForIsComplete() throws TransportException { try { try (ObjectWalk ow = new ObjectWalk(transport.local)) { for (ObjectId want : askFor.keySet()) ow.markStart(ow.parseAny(want)); for (Ref ref : localRefs().values()) ow.markUninteresting(ow.parseAny(ref.getObjectId())); ow.checkConnectivity(); } return true; } catch (MissingObjectException e) { return false; } catch (IOException e) { throw new TransportException(JGitText.get().unableToCheckConnectivity, e); } }
ow.checkConnectivity(); } catch (MissingObjectException e) { errors.getMissingObjects().add(e.getObjectId());