4 ms·
When you are looking through commit messages, "Why?", Is the question you want answered. The diff contains "What?" and "How?". Assuming that the commits in thi
by nickcw 1y ago
When you are looking through commit messages, "Why?", Is the question you want answered. The diff contains "What?" and "How?".
Assuming that the commits in this repo were generated by this tool it is missing the "Why?".
- myrmidon 1y agoFully agree. Also, using LLMs for things like this can have bad side-effects, too, simply because it raises the noise-floor: By spelling out things that are not noteworthy enough for a human, you make it more difficult to find comments that are (and were). Injecting a lot of irrelevant information can hamper understanding even if it is technically completely correct.
- flysand7 1y agoYou are talking about the commit message body, right, not just the header? Because for me it's something similar, but: Header: Contains "What" and the scope of the changes, as short as possible Body: Contains "Why" and the full explanation of the change
- trallnag 1y agoSo what kind of commit subject do you expect for fixing a single typo? Or bumping the patch version of a random dependency?
- Xiol32 1y agoDo you need an LLM to create those commit messages?