Add "jgit clone" to support cloning off URLs that are JGit specific
commitab27f138a4db9a9cd66a01f722d3755aa7106b4e
authorShawn O. Pearce <spearce@spearce.org>
Tue, 23 Dec 2008 18:03:42 +0000 (23 10:03 -0800)
committerRobin Rosenberg <robin.rosenberg@dewire.com>
Sun, 4 Jan 2009 00:01:51 +0000 (4 01:01 +0100)
treed611092d5c7d62d1252bd4687efa3bad996e547c
parent7079ea63d4a10586bafce2a6d2dc383f98e62b13
Add "jgit clone" to support cloning off URLs that are JGit specific

The amazon-s3:// protocol is unique to JGit, and is not supported
by any other Git implementation.  The easiest way to clone off of
one of those URLs is to use "jgit clone".  This program also acts
as a simple example for any IDE developers who want to implement
a clone feature, as it is the minimum effort required to make a
user reasonably happy with the resulting repository.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Robin Rosenberg <robin.rosenberg@dewire.com>
org.spearce.jgit.pgm/src/META-INF/services/org.spearce.jgit.pgm.TextBuiltin
org.spearce.jgit.pgm/src/org/spearce/jgit/pgm/AbstractFetchCommand.java [copied from org.spearce.jgit.pgm/src/org/spearce/jgit/pgm/Fetch.java with 77% similarity]
org.spearce.jgit.pgm/src/org/spearce/jgit/pgm/Clone.java [new file with mode: 0644]
org.spearce.jgit.pgm/src/org/spearce/jgit/pgm/Fetch.java