Don't pass TagOpt to FetchProcess, get it from the Transport
commit1c6e4586db9fa57e158265aa4a24af7eaebfa3b2
authorShawn O. Pearce <spearce@spearce.org>
Thu, 12 Feb 2009 23:54:39 +0000 (12 15:54 -0800)
committerRobin Rosenberg <robin.rosenberg@dewire.com>
Wed, 18 Feb 2009 21:22:40 +0000 (18 22:22 +0100)
treedd7c1db453eb433fbd19f3a64c957a16ddfbf16c
parente56d32681074c21c573143b5f4f62d318fbb713a
Don't pass TagOpt to FetchProcess, get it from the Transport

We are already passing the transport down.  Its just easier to get
the tagopt off the transport than it is to pass it as an argument
to the constructor.

In the future as we add more options into the Transport we will also
need to obtain those in the FetchProcess, so directly querying the
Transport will be more consistent.

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/FetchProcess.java
org.spearce.jgit/src/org/spearce/jgit/transport/Transport.java