logoalt Hacker News

lnenad01/22/20252 repliesview on HN

I disagree. When you look at the git history in x months you're gonna have a hard time understanding what was done following your example.


Replies

Draiken01/22/2025

I disagree. If you look back and all you see are commit messages summarizing the diff, you won't get any meaningful information.

Telling me `Changed timeout from 30s to 60s` means nothing, while `Increase timeout for slow <api name> requests` gives me an actual idea of why that was done.

Even better if you add meaningful messages to the commit body.

Take a look at commits from large repositories like the Linux kernel and we can see how good commit messages looks like.

show 1 reply
relistan01/22/2025

By adding more context? I’m not sure who you’re replying to or what your objection is.