summaryrefslogtreecommitdiff
path: root/include/git2/tree.h
diff options
context:
space:
mode:
authorVicent Marti <tanoku@gmail.com>2011-03-05 13:45:05 +0200
committerVicent Marti <tanoku@gmail.com>2011-03-05 13:46:37 +0200
commit545a6915eb7aaa8bfeed16e93090cf1360c37013 (patch)
treedfe130a134836af54713879da543e579bd497825 /include/git2/tree.h
parent9de27ad0c453f98844cc91ce4e39d338b1fb8338 (diff)
downloadlibgit2-545a6915eb7aaa8bfeed16e93090cf1360c37013.tar.gz
Change interface for Tree Index attr (always unsigned)
Signed-off-by: Vicent Marti <tanoku@gmail.com>
Diffstat (limited to 'include/git2/tree.h')
-rw-r--r--include/git2/tree.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/git2/tree.h b/include/git2/tree.h
index a3c601291..3085b3fd6 100644
--- a/include/git2/tree.h
+++ b/include/git2/tree.h
@@ -214,8 +214,9 @@ 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
+ * @return 0 if the attributes were properly set; error code otherwise
*/
-GIT_EXTERN(int) git_tree_entry_set_attributes(git_tree_entry *entry, int attr);
+GIT_EXTERN(int) git_tree_entry_set_attributes(git_tree_entry *entry, unsigned int attr);
/** @} */
GIT_END_DECL