Re: [PATCH v2 04/16] trailer: process command line trailer arguments

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

Re: [PATCH v2 04/16] trailer: process command line trailer arguments

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:59:42

Junio C Hamano [off-list ref] writes:
quoted
+static struct trailer_item *create_trailer_item(const char *string)
+{
+	struct strbuf tok = STRBUF_INIT;
+	struct strbuf val = STRBUF_INIT;
+	struct trailer_item *new;
+
+	parse_trailer(&tok, &val, string);
+
+	int tok_alnum_len = alnum_len(tok.buf, tok.len);
decl-after-stmt.
quoted
+
+	/* Lookup if the token matches something in the config */
+	struct trailer_item *item;
ditto.
quoted
+	for (item = first_conf_item; item; item = item->next)
+	{
Style.

I wonder if Cc list is being a bit too wide for this series, by the
way.

Re: [PATCH v2 04/16] trailer: process command line trailer arguments

From: Christian Couder <hidden>
Date: 2016-06-15 22:59:45

Junio C Hamano [off-list ref] writes:
quoted
quoted
+static struct trailer_item *create_trailer_item(const char *string)
+{
+	struct strbuf tok = STRBUF_INIT;
+	struct strbuf val = STRBUF_INIT;
+	struct trailer_item *new;
+
+	parse_trailer(&tok, &val, string);
+
+	int tok_alnum_len = alnum_len(tok.buf, tok.len);
decl-after-stmt.
quoted
+
+	/* Lookup if the token matches something in the config */
+	struct trailer_item *item;
ditto.
quoted
quoted
+	for (item = first_conf_item; item; item = item->next)
+	{
Style.
The decl-after-stmt and style problems are fixed in the new v3 series
I just sent.
I wonder if Cc list is being a bit too wide for this series, by the
way.
I included only people who where part of the discussions at some
point. I guess that if they are not interested anymore they can ask to
be removed from Cc.

Thanks,
Christian.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help