From patchwork Tue Sep 24 14:42:32 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: D6872: contrib: add new examples area and start it out with a config for `hg fix` From: phabricator X-Patchwork-Id: 41743 Message-Id: To: Phabricator Cc: mercurial-devel@mercurial-scm.org Date: Tue, 24 Sep 2019 14:42:32 +0000 Closed by commit rHG5dfb57af1148: contrib: add new examples area and start it out with a config for `hg fix` (authored by durin42). This revision was automatically updated to reflect the committed changes. REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D6872?vs=16596&id=16598 CHANGES SINCE LAST ACTION https://phab.mercurial-scm.org/D6872/new/ REVISION DETAIL https://phab.mercurial-scm.org/D6872 AFFECTED FILES contrib/examples/fix.hgrc CHANGE DETAILS To: durin42, #hg-reviewers, pulkit Cc: mercurial-devel 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"