4 ms·
You’re totally right, if it’s that minor then you can type in a word or two to describe it like “spacing”.
by karlshea 3y ago
You’re totally right, if it’s that minor then you can type in a word or two to describe it like “spacing”.
- Izkata 3y agoEven something that simple falls into what vs why: You can tell it was spacing from the diff, so the commit message should be "linting" or "alignment" or something similarly more meaningful.
- quickthrower2 3y agoThe diff may not be visible. The person might be doing a complicated cherry pick or merge and scrolling through hundreds of commits. If the message explains it, it saves them digging in. My analogy is your bookshelf books still need jackets!
- Vinnl 3y agoFirst line is for what, the rest of the commit message is for the why - if needed. As for "spacing", you can probably tell the why from the diff as well. The "what", however, tells you whether it's even worth opening the diff.