Re: [PATCH 12/13] Add bundle transport

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

 



Hi,

On Tue, 11 Sep 2007, Pierre Habouzit wrote:

> On Tue, Sep 11, 2007 at 03:03:21AM +0000, Johannes Schindelin wrote:
> >  static const struct transport_ops bundle_transport = {
> > +	/* set_option */	NULL,
> > +	/* get_refs_list */	get_refs_from_bundle,
> > +	/* fetch_refs */	fetch_refs_from_bundle,
> > +	/* fetch_objs */	NULL,
> > +	/* push */		NULL,
> > +	/* disconnect */	close_bundle
> 
>   Not that I care that much, and I don't know what is done in git
> usually. But aren't C99 initializer safer ? (wrt struct transport_ops
> API possible changes in the future).

No, they are not, since we do not allow such backwards incompatibilifiers 
to creep into git's code.

Yes, I know some would prefer the latest and greatest, and another 
language altogether, but keep this in mind: what if somebody made git 
incompatible with _your_ setup?  So really, don't do it to others that 
lightly.

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]

  Powered by Linux