Re: [PATCH 08/13] Add support for "import" helper command

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.)

	-Daniel
*This .sig left intentionally blank*
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]