D3702: mercurial: add .t files to .editorconfig

indygreg (Gregory Szorc) phabricator at mercurial-scm.org
Thu Jun 7 23:19:26 UTC 2018


indygreg created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REVISION SUMMARY
  The notable entry here prevents the stripping of trailing whitespace,
  which is important in .t tests.

REPOSITORY
  rHG Mercurial

REVISION DETAIL
  https://phab.mercurial-scm.org/D3702

AFFECTED FILES
  .editorconfig

CHANGE DETAILS

diff --git a/.editorconfig b/.editorconfig
--- a/.editorconfig
+++ b/.editorconfig
@@ -11,3 +11,8 @@
 indent_size = 8
 indent_style = tab
 trim_trailing_whitespace = true
+
+[*.t]
+indent_style = space
+indent_size = 2
+trim_trailing_whitespace = false



To: indygreg, #hg-reviewers
Cc: mercurial-devel


More information about the Mercurial-devel mailing list