Thread (21 messages) flat view 21 messages, 5 authors, 2016-06-15

Re: [PATCH v6 09/11] trailer: execute command from 'trailer.<name>.command'

From: Junio C Hamano <hidden>
Date: 2016-06-15 23:00:12

Christian Couder [off-list ref] writes:
quoted hunk ↗ jump to hunk
diff --git a/trailer.c b/trailer.c
index ab93c16..67e7baf 100644
--- a/trailer.c
+++ b/trailer.c
@@ -490,12 +544,22 @@ static struct trailer_item *process_command_line_args(int argc, const char **arg
...
+	/* Add conf commands that don't use $ARG */
+	for (item = first_conf_item; item; item = item->next) {
+		if (item->conf.command && !item->conf.command_uses_arg)
+		{
Opening brace of a block sits on the same line as the closing
condition of the control.  I.e.

	if (...) {
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help