Patchwork D6872: contrib: add new examples area and start it out with a config for `hg fix`

login
register
mail settings
Submitter phabricator
Date Sept. 24, 2019, 2:42 p.m.
Message ID <f9360fed908ca5890003f5b1f1f96870@localhost.localdomain>
Download mbox | patch
Permalink /patch/41743/
State Not Applicable
Headers show

Comments

phabricator - Sept. 24, 2019, 2:42 p.m.
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

Patch

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"