summaryrefslogtreecommitdiff
path: root/include/git2/commit.h
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2012-08-14 10:50:58 -0700
committerRussell Belfer <rb@github.com>2012-08-14 10:50:58 -0700
commit85a0e28b80e42a52247e16478b5f75475b00e56b (patch)
tree0eaf28379baa12661bb6a2d66a07bc1d67cf2589 /include/git2/commit.h
parentfdc637c4e266349b35ac4fb45a4e5aa63c5a78e0 (diff)
downloadlibgit2-85a0e28b80e42a52247e16478b5f75475b00e56b.tar.gz
Make git_message_prettify return bytes written
If you want to be absolutely safe with git_message_prettify, you can now pass a NULL pointer for the buffer and get back the number of bytes that would be copied into the buffer. This means that an error is a non-negative return code and a success will be greater than zero from this function.
Diffstat (limited to 'include/git2/commit.h')
0 files changed, 0 insertions, 0 deletions