diff options
author | Lennart Poettering <lennart@poettering.net> | 2019-04-12 16:35:17 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2019-04-12 16:35:17 +0200 |
commit | 831781b9c9a9c285c726f2e8e199dc5c144e9ed6 (patch) | |
tree | a1d7aca6f4f98d428199e4c5398645fcecbc3bd4 /docs/CODING_STYLE.md | |
parent | 25553cd9cde8a8e07c84629558d5ea4160b32a56 (diff) | |
download | systemd-831781b9c9a9c285c726f2e8e199dc5c144e9ed6.tar.gz |
CODING_STYLE: split out section about commiting to git
Diffstat (limited to 'docs/CODING_STYLE.md')
-rw-r--r-- | docs/CODING_STYLE.md | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/docs/CODING_STYLE.md b/docs/CODING_STYLE.md index c19e5dcac7..88e40fc81e 100644 --- a/docs/CODING_STYLE.md +++ b/docs/CODING_STYLE.md @@ -278,13 +278,6 @@ title: Coding Style recommendation is to simply write it without any such expression by using `for (;;)`. -- Commit message subject lines should be prefixed with an appropriate - component name of some kind. For example "journal: ", "nspawn: " and - so on. - -- Do not use "Signed-Off-By:" in your commit messages. That's a kernel - thing we don't do in the systemd project. - - Avoid leaving long-running child processes around, i.e. `fork()`s that are not followed quickly by an `execv()` in the child. Resource management is unclear in this case, and memory CoW will result in @@ -531,3 +524,11 @@ title: Coding Style only reason to include `libgen.h` is because `dirname()` is needed. Every time you need that please immediately undefine `basename()`, and add a comment about it, so that no code ever ends up using the POSIX version! + +# Committing to git + +- Commit message subject lines should be prefixed with an appropriate component + name of some kind. For example "journal: ", "nspawn: " and so on. + +- Do not use "Signed-Off-By:" in your commit messages. That's a kernel thing we + don't do in the systemd project. |