.editorconfig
author Gregory Szorc <gregory.szorc@gmail.com>
Thu, 02 Aug 2018 17:52:21 -0700
changeset 38896 271854adc3a6
parent 38281 1d6066336d7b
child 45392 c25efc468a49
permissions -rw-r--r--
changegroup: make delta header struct formatters actual structs Why we weren't using compiled Struct instances, I don't know. They make code simpler. In theory they are faster. Although I don't believe I was able to measure any meaningful change. That could be because this code is often dominated by compression, deltafication, and function call overhead. Differential Revision: https://phab.mercurial-scm.org/D4078

# See http://EditorConfig.org for the specification

root = true

[*.py]
indent_size = 4
indent_style = space
trim_trailing_whitespace = true

[*.{c,h}]
indent_size = 8
indent_style = tab
trim_trailing_whitespace = true

[*.t]
indent_size = 2
indent_style = space
trim_trailing_whitespace = false