summaryrefslogtreecommitdiff
path: root/include/git2/commit.h
diff options
context:
space:
mode:
authorKirill A. Shutemov <kirill@shutemov.name>2011-07-18 05:11:18 +0300
committerVicent Marti <tanoku@gmail.com>2011-07-25 21:12:48 +0200
commit05a62d1a8264e724e8353684de60b46eb6853cbb (patch)
tree81a87ad8863ca6200b245cbf5fc7d3e7c274b625 /include/git2/commit.h
parent76159921f45eeb1b9752e33da9a28aec9a220817 (diff)
downloadlibgit2-05a62d1a8264e724e8353684de60b46eb6853cbb.tar.gz
filebuf: update git_filebuf.write signature to take non-const buffer
z_stream.next_in is non-const. Although currently Zlib doesn't modify buffer content on deflate(), it might be change in the future. gzwrite() already modify it. To avoid this let's change signature of git_filebuf.write and rework git_filebuf_write() accordingly. Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name>
Diffstat (limited to 'include/git2/commit.h')
0 files changed, 0 insertions, 0 deletions