Re: [PATCH 08/13] Add support for "import" helper command
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Aug 5, 2009, 20:56 UTC
- Message-ID
- <alpine.DEB.1.00.0908052254570.8306@pacific.mpi-cbg.de>
- In-Reply-To
- <alpine.LNX.2.00.0908050055550.2147@iabervon.org>
Hi,
On Wed, 5 Aug 2009, Daniel Barkalow wrote:
> This command, supported if the "import" capability is advertized, > allows a helper to support fetching by outputting a git-fast-import > stream.
If both the "import" and the "fetch" capability are advertised, the "import" capability is ignored.
Show 14 quoted lines
> diff --git a/Documentation/git-remote-helpers.txt b/Documentation/git-remote-helpers.txt > index 173ee23..e9aa67e 100644 > --- a/Documentation/git-remote-helpers.txt > +++ b/Documentation/git-remote-helpers.txt > @@ -43,6 +43,13 @@ Commands are given by the caller on the helper's standard input, one per line. > + > Supported if the helper has the "fetch" capability. > > +'import' <name>:: > + Produces a fast-import stream which imports the current value > + of the named ref. It may additionally import other refs as > + needed to construct the history efficiently. > ++ > +Supported if the helper has the "import" capability.
, but ignored if the +helper offers the "fetch" capability.
Ciao, Dscho
-- Sent from my EeePC