Re: [PATCH 12/13] Add bundle transport

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

 



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

-- 
·O·  Pierre Habouzit
··O                                                madcoder@xxxxxxxxxx
OOO                                                http://www.madism.org

Attachment: pgpY3Tz725Va8.pgp
Description: PGP signature


[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