summaryrefslogtreecommitdiff
path: root/include/git2/commit.h
diff options
context:
space:
mode:
authorBrodie Rao <brodie@bitheap.org>2011-08-09 20:49:12 -0700
committerBrodie Rao <brodie@bitheap.org>2011-10-12 15:14:25 -0700
commit04f788023fd04e60a12c2a19787857c72b3817f4 (patch)
tree3b4039c58f93e4d5d306c4c8cd2f99b9ccd9eee3 /include/git2/commit.h
parent3eaf34f4c602b9e155e2f4c6ae26c9250ac37d50 (diff)
downloadlibgit2-04f788023fd04e60a12c2a19787857c72b3817f4.tar.gz
commit: properly parse empty commit messages
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
Diffstat (limited to 'include/git2/commit.h')
0 files changed, 0 insertions, 0 deletions