News for hackers. Stuff that matters.
Re:Apple contributes to OBS to support screen capture using ... by Cthulhu_ on Friday January 28, 2022 @08:08AM (#30114098)
Small nit: Maybe not say what YOU are doing, but what the COMMIT, when applied, will do. Git is not a personal work log, it's a source code change log. A commit may be a collaborative effort; it may be a squash of a thousand smaller commits; it may be a merge, it may be generated by a tool (like the dependencies), etc.

The commit should summarize what IT does, not what YOU did. In ten years, nobody will care who you are or what you did, but they will care what the code does and why.

Re:Apple contributes to OBS to support screen capture using ... by MrGilbert on Friday January 28, 2022 @08:56AM (#30114580)
That's the main reason we are using present tense in commit messages, not past tense. It's the commit that is applying the changes at that moment.
Re:Apple contributes to OBS to support screen capture using ... by thaumasiotes on Friday January 28, 2022 @04:05PM (#30120357)
> That's the main reason we are using present tense in commit messages, not past tense.

As a linguistic note, commit messages (at least, English commit messages) almost always use an infinitive verb and therefore may be considered to have no tense at all, though to argue that infinitives have no tense you do need to draw a distinction between tense and aspect.

Re:Apple contributes to OBS to support screen capture using ... by timmb on Saturday January 29, 2022 @05:32AM (#30125302)
I believe it’s the imperative (enable widget) not the infinitive (to enable widget) that is generally used.
Re:Apple contributes to OBS to support screen capture using ... by thaumasiotes on Saturday January 29, 2022 @05:17PM (#30131134)
> I believe it’s the imperative (enable widget) not the infinitive (to enable widget)

You're confusing a bare infinitive with an imperative. Infinitives are often, but not always, marked with to. Commit messages are not commands and are not capable of licensing imperative forms.

Here are some examples of bare infinitives in English, with the infinitive form italicized:

1. This organization will help you apply for a loan.

2a. Q: What does he do?

2b. A: Check over the paperwork to be sure everything's right.

A commit message is doing exactly the same thing as occurs in example 2b.