Patchwork D8947: mercurial: force LF endings for *.py, *.{c, h} and *.t in .editorconfig

login
register
mail settings
Submitter phabricator
Date Aug. 24, 2020, 11:08 p.m.
Message ID <differential-rev-PHID-DREV-qn62jx5e7ganem733vkv-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/47048/
State Superseded
Headers show

Comments

phabricator - Aug. 24, 2020, 11:08 p.m.
mharbison72 created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REVISION SUMMARY
  PyCharm on Windows otherwise uses CRLF.

REPOSITORY
  rHG Mercurial

BRANCH
  default

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

AFFECTED FILES
  .editorconfig

CHANGE DETAILS




To: mharbison72, #hg-reviewers
Cc: mercurial-patches, mercurial-devel

Patch

diff --git a/.editorconfig b/.editorconfig
--- a/.editorconfig
+++ b/.editorconfig
@@ -6,13 +6,16 @@ 
 indent_size = 4
 indent_style = space
 trim_trailing_whitespace = true
+end_of_line = lf
 
 [*.{c,h}]
 indent_size = 8
 indent_style = tab
 trim_trailing_whitespace = true
+end_of_line = lf
 
 [*.t]
 indent_size = 2
 indent_style = space
 trim_trailing_whitespace = false
+end_of_line = lf