diff options
author | Russell Belfer <rb@github.com> | 2012-12-19 15:06:14 -0800 |
---|---|---|
committer | Russell Belfer <rb@github.com> | 2013-01-04 15:47:42 -0800 |
commit | 8fe713ccf7bf8c6330fdda7f0c733e7f3ab29d3f (patch) | |
tree | afb53ab99c90d710cd31fa9bb21cf03c059778b9 /src/commit.h | |
parent | 5cf9875a4f6ee6fa26f5617aca8433dd49c72751 (diff) | |
download | libgit2-8fe713ccf7bf8c6330fdda7f0c733e7f3ab29d3f.tar.gz |
Make git_oid_tostr use out buffer for NULL oid
Previously a NULL oid was handled like an empty buffer and
returned a status empty string. This makes git_oid_tostr()
set the output buffer to the empty string instead.
Diffstat (limited to 'src/commit.h')
0 files changed, 0 insertions, 0 deletions