mirror of
https://git.proxmox.com/git/libgit2
synced 2025-05-04 19:50:19 +00:00
Fix misspelling of git_index_append2 (was git_index_apppend2).
This commit is contained in:
parent
cc3b82e376
commit
773bc20dd3
@ -232,10 +232,10 @@ GIT_EXTERN(int) git_index_append(git_index *index, const char *path, int stage);
|
||||
* @param source_entry new entry object
|
||||
* @return 0 on success, otherwise an error code
|
||||
*/
|
||||
GIT_EXTERN(int) git_index_apppend2(git_index *index, const git_index_entry *source_entry);
|
||||
GIT_EXTERN(int) git_index_append2(git_index *index, const git_index_entry *source_entry);
|
||||
|
||||
/**
|
||||
* Remove an entry from the index
|
||||
* Remove an entry from the index
|
||||
*
|
||||
* @param index an existing index object
|
||||
* @param position position of the entry to remove
|
||||
|
@ -421,7 +421,7 @@ int git_index_add2(git_index *index, const git_index_entry *source_entry)
|
||||
return index_insert(index, source_entry, 1);
|
||||
}
|
||||
|
||||
int git_index_apppend2(git_index *index, const git_index_entry *source_entry)
|
||||
int git_index_append2(git_index *index, const git_index_entry *source_entry)
|
||||
{
|
||||
return index_insert(index, source_entry, 0);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user