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, 21:23 UTC
Message-ID
<alpine.DEB.1.00.0908052321580.8306@pacific.mpi-cbg.de>
In-Reply-To
<alpine.LNX.2.00.0908051708060.2147@iabervon.org>
Hi,
On Wed, 5 Aug 2009, Daniel Barkalow wrote:
Show 19 quoted lines
> On Wed, 5 Aug 2009, Johannes Schindelin wrote:
> 
> > 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.
> 
> The transport code notices that both are supported; it just doesn't use 
> the less convenient one. It would be wrong for helpers to advertize both 
> and depend on only "fetch" being used. (For example, there's no reason 
> that hg couldn't use one of these helpers and use the "import" capability 
> despite the "fetch" capability also being advertized, because "import" 
> produces results which are portable across local vcses.)

My point was not to criticize the decision. My point was to criticize the absence of the comment from both commit message and documentation.

Ciao, Dscho

Previous: Daniel BarkalowNext: Daniel Barkalow
Message 4 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.