t04-commit.c
21.2 KB
-
commit: properly parse empty commit messages · 04f78802
This ensures commit->message is always non-NULL, even if the commit message is empty or consists of only a newline. One such commit can be found in the wild in the jQuery repository: https://github.com/jquery/jquery/commit/25b424134f9927a5bf0bab5cba836a0aa6c3cfc1
Brodie Rao committed