Simplify walker transport ref advertisement setup
commit51d0ab2ce1e95c59ea0ba3c40cb83ba0564cf260
authorShawn O. Pearce <spearce@spearce.org>
Sun, 29 Jun 2008 07:59:20 +0000 (29 03:59 -0400)
committerRobin Rosenberg <robin.rosenberg@dewire.com>
Mon, 30 Jun 2008 22:46:22 +0000 (1 00:46 +0200)
tree2d40f6fe6492fcb46c5cd1771e66e954cc38ed1b
parent1f9db6a4fa73f476cf4efc8c0f26b6acc1ac6e2b
Simplify walker transport ref advertisement setup

We need to perform the same advertisement setup during push for
any of these protocols but we won't have a WalkFetchConnection.
Returning the map simplifies the code and allows it to be used
for the push variant.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
org.spearce.jgit/src/org/spearce/jgit/transport/TransportHttp.java
org.spearce.jgit/src/org/spearce/jgit/transport/TransportSftp.java