]> source.dussan.org Git - jgit.git/commit
Implement ls-refs in UploadPack 47/119447/10
authorJonathan Tan <jonathantanmy@google.com>
Thu, 22 Feb 2018 18:24:19 +0000 (10:24 -0800)
committerJonathan Nieder <jrn@google.com>
Mon, 23 Apr 2018 17:26:51 +0000 (10:26 -0700)
commit332bc611249d21f9b604f2c0207bf0bdfbfc3a78
tree7238a842e2c4481c0ebe279d30f1a8caa0177a5b
parent2661bc081340ae83d2a2ecba11994d3e8d56586b
Implement ls-refs in UploadPack

Implement support for Git protocol v2's "ls-refs" command and its
"symrefs" and "peel" parameters.

This adds support for this command to UploadPack but the git://,
ssh://, and git:// transports do not make use of it yet.  That will
have to wait for later patches.

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