contrib/examples/fix.hgrc
author Augie Fackler <augie@google.com>
Mon, 20 May 2019 14:33:46 -0400
changeset 42965 5dfb57af1148
child 42966 f5ad85dd5f7e
permissions -rw-r--r--
contrib: add new examples area and start it out with a config for `hg fix` This is the configuration contributors should use for our C/C++ code. I expect to expand this file as we get more automated formatter oversight. Differential Revision: https://phab.mercurial-scm.org/D6872
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
42965
5dfb57af1148 contrib: add new examples area and start it out with a config for `hg fix`
Augie Fackler <augie@google.com>
parents:
diff changeset
     1
[fix]
5dfb57af1148 contrib: add new examples area and start it out with a config for `hg fix`
Augie Fackler <augie@google.com>
parents:
diff changeset
     2
clang-format:command = clang-format --style file -i
5dfb57af1148 contrib: add new examples area and start it out with a config for `hg fix`
Augie Fackler <augie@google.com>
parents:
diff changeset
     3
clang-format:pattern = (**.c or **.cc or **.h) and not "listfile:contrib/clang-format-ignorelist"