Files @ r23805:2e9ff516b19f
Branch filter:

Location: cpp/openttd-patchpack/source/.editorconfig

George Koehler
Fix: Allow git worktree in version detection; drop svn, hg.

If $ROOT_DIR is a linked working tree from git-worktree(1), then
$ROOT_DIR/.git is a regular file instead of a directory. Allow this
when deciding whether to use git to detect OpenTTD's version.

Drop checks for svn and hg in config.lib, because findversion.sh
hasn't used svn nor hg since 192770e6da.
1
2
3
4
5
6
7
8
9
root = true

[*]
insert_final_newline = true
trim_trailing_whitespace = true

[*.{c,cpp,h,hpp}]
indent_style = tab
charset = utf-8