Expose RefAdvertiser for reuse outside of the transport package
commit7ed6805425d69826ad19c96b352a6fd533ee4cb4
authorShawn O. Pearce <spearce@spearce.org>
Wed, 7 Oct 2009 02:23:33 +0000 (6 19:23 -0700)
committerShawn O. Pearce <spearce@spearce.org>
Tue, 12 Jan 2010 19:56:56 +0000 (12 11:56 -0800)
tree930671a14c78a9823d8bed1fdc7e084cdb9e71e5
parente187618b6bc098f367d36c945f8518e4b2aeb63f
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>
org.eclipse.jgit/src/org/eclipse/jgit/transport/ReceivePack.java
org.eclipse.jgit/src/org/eclipse/jgit/transport/RefAdvertiser.java
org.eclipse.jgit/src/org/eclipse/jgit/transport/UploadPack.java