Re: [PATCH 3/3] clone: add `--seed` shorthand
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- May 21, 2015, 16:05 UTC
- Message-ID
- <8895881cd3f324d2b8a827e311296a48@www.dscho.org>
- In-Reply-To
- <20150521041619.GC5196@peff.net>
Hi Peff,
On 2015-05-21 06:16, Jeff King wrote:
Show 12 quoted lines
> diff --git a/Documentation/git-clone.txt b/Documentation/git-clone.txt > index f1f2a3f..ffeb03b 100644 > --- a/Documentation/git-clone.txt > +++ b/Documentation/git-clone.txt > @@ -107,6 +107,9 @@ objects from the source repository into a pack in > the cloned repository. > transfer and stop borrowing from them after a clone is made > by making necessary local copies of borrowed objects. > > +--seed <repository>:: > + A convenient shorthand for `--dissociate --reference=<repository>`. > +
Since you want to advertise this as an easier way than `--dissociate --reference=<repository>`, it might make sense to avoid sending the reader that way, too.
Maybe something like
--seed <repository>::
Fetch objects from <repository> instead of the clone URL when possible. This is useful when a (possibly partial) clone already exists locally, to avoid transferring the same objects again.Ciao, Dscho