durin42 created this revision. Herald added a subscriber: mercurial-devel. Herald added a reviewer: hg-reviewers.
REVISION SUMMARY 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. REPOSITORY rHG Mercurial REVISION DETAIL https://phab.mercurial-scm.org/D6872 AFFECTED FILES contrib/examples/fix.hgrc CHANGE DETAILS diff --git a/contrib/examples/fix.hgrc b/contrib/examples/fix.hgrc new file mode 100644 --- /dev/null +++ b/contrib/examples/fix.hgrc @@ -0,0 +1,3 @@ +[fix] +clang-format:command = clang-format --style file -i +clang-format:pattern = (**.c or **.cc or **.h) and not "listfile:contrib/clang-format-ignorelist" To: durin42, #hg-reviewers Cc: mercurial-devel _______________________________________________ Mercurial-devel mailing list Mercurial-devel@mercurial-scm.org https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel