This is an automated email from the git hooks/post-receive script.

guillem pushed a commit to branch main
in repository dpkg.

View the commit online:
https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=81d89784d9d3482f4121a9e17187db26ad943bc4

commit 81d89784d9d3482f4121a9e17187db26ad943bc4
Author: Guillem Jover <[email protected]>
AuthorDate: Thu Aug 28 02:59:09 2025 +0200

    doc: Update references to mixed old and new C/C++ coding styles
    
    We should no longer have a mix of indentation and space usage in code,
    but we still have code using the old style when it comes to monster
    functions and complex constructs that should be refactored.
---
 doc/coding-style.txt | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/doc/coding-style.txt b/doc/coding-style.txt
index e948dffe4..834b2c0ef 100644
--- a/doc/coding-style.txt
+++ b/doc/coding-style.txt
@@ -99,9 +99,9 @@ tab based indentation can be considered canon.
   [L] <https://kernel.org/doc/Documentation/process/coding-style.rst>
 
 The code has a mix of an old coding style being phased out and the new
-style. New files should use the new style, changes to files with the old
-style should switch the code being touched except for the indentation level,
-which should be preserved to match (2 spaces).
+style. Code still using the old coding style might need to be refactored
+to be able to bring it to conform to the new style, where some instances
+have TODO markers to that effect.
 
 Code should generally strive for clarity. Monster functions should be split
 into logical and small pieces.

-- 
Dpkg.Org's dpkg

Reply via email to