Change #239926
Category | rsyslog |
Changed by | Rainer Gerhards <rgerhards | @adiscon.com>
Changed at | Wed 16 Jul 2025 17:08:01 |
Repository | https://github.com/rsyslog/rsyslog.git |
Project | rsyslog |
Branch | master |
Revision | 786ea7c92f5689f48977a19006eaa5477cd3e37f |
Comments
chore: add project-wide formatting and editor configs - add .editorconfig for indent, whitespace, and file-type rules - add project-local .vimrc to enforce Vim settings via exrc - add .clang-format for C/C++ style presets and list formatting - add devtools/format-code.sh to run clang-format and fixups - adjust clang-format config for stable, idempotent output - update AGENTS.md with new formatting strategy - add .git-blame-ignore-revs entry for format change commit This commit sets up an automated formatting pipeline to let contributors use their editor of choice while ensuring consistent, stable code style across the project.
Changed files
- .clang-format
- .editorconfig
- .git-blame-ignore-revs
- .vimrc
- AGENTS.md
- COMMENTING_STYLE.md
- devtools/format-code.sh
- tools/rsyslogd.c