public inbox for cocci@systeme.lip6.fr
 help / color / mirror / Atom feed
* [Cocci] [PATCH 1/4] Coccinelle: Restore coccicheck verbosity in ONLINE mode (C=1 or C=2)
@ 2013-03-02 21:36 Nicolas Palix
  2013-03-02 21:36 ` [Cocci] [PATCH 2/4] Coccinelle: Cleanup the setting of the FLAGS and OPTIONS variables Nicolas Palix
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Nicolas Palix @ 2013-03-02 21:36 UTC (permalink / raw)
  To: cocci

A recent patch have introduce the VERBOSE variable and comments
now depend on it. However, the message printed for each cocci file
such not be printed when the ONLINE mode is active, whatever is
the value of VERBOSE.

Signed-off-by: Nicolas Palix <nicolas.palix@imag.fr>
---
 scripts/coccicheck |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/coccicheck b/scripts/coccicheck
index 85d3189..7f0d6a6 100755
--- a/scripts/coccicheck
+++ b/scripts/coccicheck
@@ -72,7 +72,7 @@ coccinelle () {
 #
 #    $SPATCH -D $MODE $FLAGS -parse_cocci $COCCI $OPT > /dev/null
 
-    if [ $VERBOSE -ne 0 ] ; then
+    if [ $VERBOSE -ne 0 -a $ONLINE -eq 0 ] ; then
 
 	FILE=`echo $COCCI | sed "s|$srctree/||"`
 
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-04-08 13:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-02 21:36 [Cocci] [PATCH 1/4] Coccinelle: Restore coccicheck verbosity in ONLINE mode (C=1 or C=2) Nicolas Palix
2013-03-02 21:36 ` [Cocci] [PATCH 2/4] Coccinelle: Cleanup the setting of the FLAGS and OPTIONS variables Nicolas Palix
2013-03-02 21:36 ` [Cocci] [PATCH 3/4] Coccinelle: Add support to the SPFLAGS variable Nicolas Palix
2013-03-02 21:36 ` [Cocci] [PATCH 4/4] Coccinelle: Fix patch output when coccicheck is used with M= and C= Nicolas Palix
2013-04-08 13:52 ` [Cocci] [PATCH 1/4] Coccinelle: Restore coccicheck verbosity in ONLINE mode (C=1 or C=2) Michal Marek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox