From 00512661adcb46f0860438ef5b7a2296cef979b7 Mon Sep 17 00:00:00 2001 From: slioch Date: Fri, 19 Jun 2009 14:10:47 -0700 Subject: fix -a option for displaying actions when commit or syntax check is present in the node.def. This change only affects display of nodes when -a option is used. --- src/commit2.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/commit2.c b/src/commit2.c index 6b5dc4d..6d36368 100644 --- a/src/commit2.c +++ b/src/commit2.c @@ -398,7 +398,8 @@ process_func(GNode *node, gpointer data) status = execute_list(c->_def.actions[result->_action].vtw_list_head,&c->_def); } else { - if (c->_def.actions[syntax_act].vtw_list_head && + if ((result->_action == syntax_act || result->_action == commit_act) && + c->_def.actions[syntax_act].vtw_list_head && c->_def.actions[syntax_act].vtw_list_head->vtw_node_aux == 1) { fprintf(out_stream,"commit\t:\t%s\n",d->_path); } -- cgit v1.2.3