4 ms·
When you're trying to solve a mystery one of the first questions you ask about a piece of code you suspect might be involved in the problem you ask "what does t
by james_s_tayler 7y ago
When you're trying to solve a mystery one of the first questions you ask about a piece of code you suspect might be involved in the problem you ask "what does the commit message for this say?"
It often contains valuable clues.
Less often you will want to know "how has this code changed over time?" or "was the code like this originally, or did it used to look different at some point in the past?"
Commit messages often say why something was changed. Well, good ones do.