]> source.dussan.org Git - jgit.git/commit
UploadPack: Include peeled ObjectId as advertised 60/76560/2
authorShawn Pearce <spearce@spearce.org>
Tue, 5 Jul 2016 00:23:47 +0000 (17:23 -0700)
committerShawn Pearce <spearce@spearce.org>
Tue, 5 Jul 2016 16:18:41 +0000 (09:18 -0700)
commit5196798cb743aa9e9a0e7d92c64e9c930656acaa
tree4e3c8139f4f049af83f2dc08d83146f25ecf4f7d
parentc4ee45c6925a8ec50ccd9303bb42b21e7f7378d3
UploadPack: Include peeled ObjectId as advertised

A RefAdvertiser writing to the network includes both the reference's
ObjectId and its peeled ObjectId in the advertised set.  In smart HTTP
negotiation requests may bypass the RefAdvertiser and quickly build
the set based on current refs; include the peeled ObjectIds to match
behavior with the normal bidirectional protocols on git:// and SSH.

Change-Id: I5371bed60da36e8d12c4ad9a5c1d91a0f0ad486b
org.eclipse.jgit/src/org/eclipse/jgit/transport/UploadPack.java