Expose RefAdvertiser for reuse outside of the transport package
By making this class and its methods public, and the actual writing
abstract, we can reuse this code for other formats like writing an
info/refs file for HTTP transports.
Change-Id: Id0e349c30a0f5a8c1527e0e7383b80243819d9c5
Signed-off-by:
Shawn O. Pearce <spearce@spearce.org>
Showing
- org.eclipse.jgit/src/org/eclipse/jgit/transport/ReceivePack.java 13 additions, 4 deletions...ipse.jgit/src/org/eclipse/jgit/transport/ReceivePack.java
- org.eclipse.jgit/src/org/eclipse/jgit/transport/RefAdvertiser.java 139 additions, 15 deletions...se.jgit/src/org/eclipse/jgit/transport/RefAdvertiser.java
- org.eclipse.jgit/src/org/eclipse/jgit/transport/UploadPack.java 13 additions, 4 deletions...lipse.jgit/src/org/eclipse/jgit/transport/UploadPack.java
Please register or sign in to comment