Commit cd2cc2dc by Vicent Martí

Merge pull request #170 from jasonrm/development

Fix misspelling of git_index_append2 (was git_index_apppend2).
parents c912229e 773bc20d
...@@ -232,10 +232,10 @@ GIT_EXTERN(int) git_index_append(git_index *index, const char *path, int stage); ...@@ -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
......
...@@ -421,7 +421,7 @@ int git_index_add2(git_index *index, const git_index_entry *source_entry) ...@@ -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);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment