this post was submitted on 08 Oct 2024
191 points (91.7% liked)
Programming
17417 readers
81 users here now
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Rules
- Follow the programming.dev instance rules
- Keep content related to programming in some way
- If you're posting long videos try to add in some form of tldr for those who don't want to watch videos
Wormhole
Follow the wormhole through a path of communities !webdev@programming.dev
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
And here it is in the kernel contribution documentation.
Simple example:
So the commit says what applying the patch will do, not what you worked on.
This has been the recommendation and the way to do it for decades everywhere I've been too.
Another commit style is summarizing what a commit does. In this case it would be someting like:
I think this style is more in line with auditing code.
This indicative mood is something I would send back for correction or correct myself where I am the maintainer. However I understand that although this is pretty consistent through FOSS, it is not a settled matter especially in corpo-land. Most important is that it is consistent within a project. See many differing views here on Stackoverflow, noting the most popular answer though is imperative as Linus requests.
Honestly I've never thought about it this much. I'll have to make an effort to stop writing in past tense.