diff options
author | Kirill A. Shutemov <kirill@shutemov.name> | 2011-07-18 04:27:56 +0300 |
---|---|---|
committer | Vicent Marti <tanoku@gmail.com> | 2011-07-25 21:12:47 +0200 |
commit | 76159921f45eeb1b9752e33da9a28aec9a220817 (patch) | |
tree | 13d04d04193d5c4b68b0dcc73c6805d4cbfde432 /include/git2/commit.h | |
parent | f939d39becfd62cb8fb58fb6d22f9677137af791 (diff) | |
download | libgit2-76159921f45eeb1b9752e33da9a28aec9a220817.tar.gz |
index: rework index entry initialization routine
index_init_entry() renamed to index_entry_init(). Now it allocates entry
on its own.
git_index_add() and git_index_append() reworked accordingly.
This commit fixes warning:
/home/kas/git/public/libgit2/src/index.c: In function ‘index_init_entry’:
/home/kas/git/public/libgit2/src/index.c:452:14: warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default]
Signed-off-by: Kirill A. Shutemov <kirill@shutemov.name>
Diffstat (limited to 'include/git2/commit.h')
0 files changed, 0 insertions, 0 deletions