OpenAFS Master Repository branch, master, updated. openafs-devel-1_9_2-715-gd18f5c3
Gerrit Code Review
gerrit@openafs.org
Fri, 30 Oct 2026 18:50:41 -0400
The following commit has been merged in the master branch:
commit d18f5c36c927276f1c64b4cf2acc602138c0b5f3
Author: Cheyenne Wills <cwills@sinenomine.net>
Date: Fri Oct 30 15:00:14 2026 -0600
doc: Document current coding style
The current code-style-guide does not document or is inconsistent with
the current styles being used.
- Explicitly state the rules for tabs
- Clarify for which files tabs must be used (C and C-like files)
- Document how preprocessor directives are indented
- Recommend commenting an #endif with the condition it closes when the
matching #if is not easy to see
- Correct the prose for the indent utility
- List the indent options together
- Use a visual marker in code examples to illustrate tabs
- Remove all physical tabs from the file
Add a statement that indent does not preserve the code style for
preprocessor indentation.
Change-Id: Ib4298462fb0b016612d1247004f51e4ba19ede89
Assisted-by: LLM
Reviewed-on: https://gerrit.openafs.org/17143
Reviewed-by: Cheyenne Wills <cwills@sinenomine.net>
Reviewed-by: Michael Meffie <mmeffie@sinenomine.net>
Tested-by: Michael Meffie <mmeffie@sinenomine.net>
doc/process/code-style-guide.md | 198 +++++++++++++++++++++++++---------------
1 file changed, 123 insertions(+), 75 deletions(-)
--
OpenAFS Master Repository