Merge pull request #170 from jasonrm/development

Fix misspelling of git_index_append2 (was git_index_apppend2).
This commit is contained in:
Vicent Martí 2011-05-08 14:00:57 -07:00
commit cd2cc2dc36
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 * @param source_entry new entry object
* @return 0 on success, otherwise an error code * @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 index an existing index object
* @param position position of the entry to remove * @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); 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); return index_insert(index, source_entry, 0);
} }