We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa1101a commit 607817aCopy full SHA for 607817a
Documentation/CodingGuidelines
@@ -26,6 +26,13 @@ code. For Git in general, a few rough rules are:
26
go and fix it up."
27
Cf. http://lkml.iu.edu/hypermail/linux/kernel/1001.3/01069.html
28
29
+ - Log messages to explain your changes are as important as the
30
+ changes themselves. Clearly written code and in-code comments
31
+ explain how the code works and what is assumed from the surrounding
32
+ context. The log messages explain what the changes wanted to
33
+ achieve and why the changes were necessary (more on this in the
34
+ accompanying SubmittingPatches document).
35
+
36
Make your code readable and sensible, and don't try to be clever.
37
38
As for more concrete guidelines, just imitate the existing code
0 commit comments