git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

Previous: Daniel BarkalowNext: Daniel Barkalow
Message 2 of 5 in “Add support for "import" helper command”
  1. 08/13 Add support for "import" helper commandDaniel Barkalow, Aug 5, 2009
  2. Johannes SchindelinAug 5, 2009
  3. Daniel BarkalowAug 5, 2009
  4. Johannes SchindelinAug 5, 2009
  5. Daniel BarkalowAug 5, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.