summaryrefslogtreecommitdiff
path: root/include/git2/commit.h
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2013-05-13 16:09:33 -0700
committerRussell Belfer <rb@github.com>2013-05-15 16:11:31 -0700
commit797dfb28fea6a3db542dc32d11a530570e147b73 (patch)
tree1f38f0efb66f1999f2eeff03a6937a90458af992 /include/git2/commit.h
parent487884a9306e744eaebe659a7d0edb1c0c6c7ba7 (diff)
downloadlibgit2-797dfb28fea6a3db542dc32d11a530570e147b73.tar.gz
Add APIs to dup and free git_index_entrys
This adds git_index_entry_dup to make a copy of an existing entry and git_index_entry_free to release the memory of the copy. It also updates the documentation for git_index_get_bypath and git_index_get_byindex to make it clear that the returned structure should *not* be modified.
Diffstat (limited to 'include/git2/commit.h')
0 files changed, 0 insertions, 0 deletions