Re: [PATCH 17/22] refs.c: add a backend method structure with transaction functions

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

 



On Fri, 2014-08-08 at 09:45 -0700, Ronnie Sahlberg wrote:

> +struct ref_be refs_files = {
> +	.transaction_begin		= files_transaction_begin,
> +	.transaction_update_sha1	= files_transaction_update_sha1,
> +	.transaction_create_sha1	= files_transaction_create_sha1,
> +	.transaction_delete_sha1	= files_transaction_delete_sha1,
> +	.transaction_update_reflog	= files_transaction_update_reflog,
> +	.transaction_commit		= files_transaction_commit,
> +	.transaction_free		= files_transaction_free,
> +};

C99 designated initializers are unfortunately forbidden by
CodingGuidelines.

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