Don't clang-format non checked out things

mbed-os is a directory that gets checked out by the mbed cli
(a tool similar in spirit to miot) and it contains a lot of
.c sources, so many of them that clang-format burns your CPU.

While we're at it, also fix check_no_ifdefs when running under a commit
hook.

PUBLISHED_FROM=e5dd457ea3c4f9bd880f2491fb322dffa7abf70a
This commit is contained in:
Marko Mikulicic 2016-10-17 19:50:28 +03:00 committed by Cesanta Bot
parent 4656e7b0dd
commit 31c5ef1bc3
2 changed files with 2 additions and 0 deletions

View File

@ -1,3 +1,4 @@
/* clang-format off */
/******************************************************************************
** This file is an amalgamation of many separate C source files from SQLite
** version 3.7.17. By combining all the individual C code files into this

View File

@ -1,3 +1,4 @@
/* clang-format off */
/*
** 2001 September 15
**