Fix misspelling of git_index_append2 (was git_index_apppend2).

This commit is contained in:
Jason R. McNeil 2011-05-03 22:22:42 -07:00
parent cc3b82e376
commit 773bc20dd3
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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);
}