]> source.dussan.org Git - jgit.git/commit
Respond with shallow-info before wanted-refs 68/127368/1
authorJonathan Tan <jonathantanmy@google.com>
Mon, 13 Aug 2018 23:57:25 +0000 (16:57 -0700)
committerJonathan Tan <jonathantanmy@google.com>
Mon, 13 Aug 2018 23:57:25 +0000 (16:57 -0700)
commit3227348e5e8feea0248d97ed24d8f1695a14f499
tree8a5b70d19bf5128349aa898d79642173a2c7d7d0
parentd1dc49e968d75193f3f6d8c14412afa75631825b
Respond with shallow-info before wanted-refs

When fetching with protocol v2, git expects the shallow-info section to
appear before wanted-refs if both appear in the response. Teach
UploadPack to do this.

Change-Id: Ie26a91edcce5d27a1d727d7fba5c30e1144e118b
Signed-off-by: Jonathan Tan <jonathantanmy@google.com>
org.eclipse.jgit.test/tst/org/eclipse/jgit/transport/UploadPackTest.java
org.eclipse.jgit/src/org/eclipse/jgit/transport/UploadPack.java