Re: [PATCH 2/3 v2] Use an external program to implement fetching with curl

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

 



Hi,

On Tue, 28 Jul 2009, Erik Faye-Lund wrote:

> On Tue, Jul 28, 2009 at 3:19 PM, Johannes
> Schindelin<Johannes.Schindelin@xxxxxx> wrote:
> > If you already start some infrastructure like this, you should go the 
> > whole nine yards and make helper functions in remote.c or transport.c 
> > that help implementing "git-remote-<protocol>" helpers.
> 
> You mean helper-helpers? :)

Not really... I meant functions that do all the stdin parsing for you, 
together with error handling, and only return proper lists of verified 
arguments in the appropriate data structure.  This functionality is likely 
to be needed by all remote helpers, that's why I would prefer to have it 
exposed as functions in libgit.a, to be reused by all the helpers.

Of course, this would not help shell scripting such helpers, but you have 
to start somewhere.  And that somewhere happens to be the http transport.

Ciao,
Dscho

--
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]