Check for valid range of attributes for tree entry

This commit is contained in:
Sakari Jokinen
2011-03-05 13:46:27 +02:00
committed by Vicent Marti
parent 3490188b3c
commit 9de27ad0c4
2 changed files with 19 additions and 5 deletions
+1 -1
View File
@@ -215,7 +215,7 @@ GIT_EXTERN(void) git_tree_entry_set_name(git_tree_entry *entry, const char *name
* @param entry Entry object which will be modified
* @param oid new attributes for the entry
*/
GIT_EXTERN(void) git_tree_entry_set_attributes(git_tree_entry *entry, int attr);
GIT_EXTERN(int) git_tree_entry_set_attributes(git_tree_entry *entry, int attr);
/** @} */
GIT_END_DECL