vendor/libgit2/include/git2/index.h in rugged-0.28.3.1 vs vendor/libgit2/include/git2/index.h in rugged-0.28.4

- old
+ new

@@ -141,10 +141,11 @@ GIT_INDEX_ADD_FORCE = (1u << 0), GIT_INDEX_ADD_DISABLE_PATHSPEC_MATCH = (1u << 1), GIT_INDEX_ADD_CHECK_PATHSPEC = (1u << 2), } git_index_add_option_t; +/** Git index stage states */ typedef enum { /** * Match any index stage. * * Some index APIs take a stage to match; pass this value to match @@ -569,10 +570,10 @@ * @param entry filename to add * @param buffer data to be written into the blob * @param len length of the data * @return 0 or an error code */ -GIT_EXTERN(int) git_index_add_frombuffer( +GIT_EXTERN(int) git_index_add_from_buffer( git_index *index, const git_index_entry *entry, const void *buffer, size_t len); /**