]> git.proxmox.com Git - libgit2.git/blobdiff - include/git2/apply.h
New upstream version 1.3.0+dfsg.1
[libgit2.git] / include / git2 / apply.h
index b248eaafea3decb3d8cd2ed3bba057d34fcea36f..bc637df1c2ac591d665d47241abf28c5daf2913c 100644 (file)
@@ -100,6 +100,7 @@ GIT_EXTERN(int) git_apply_options_init(git_apply_options *opts, unsigned int ver
  * @param preimage the tree to apply the diff to
  * @param diff the diff to apply
  * @param options the options for the apply (or null for defaults)
+ * @return 0 or an error code
  */
 GIT_EXTERN(int) git_apply_to_tree(
        git_index **out,
@@ -137,6 +138,7 @@ typedef enum {
  * @param diff the diff to apply
  * @param location the location to apply (workdir, index or both)
  * @param options the options for the apply (or null for defaults)
+ * @return 0 or an error code
  */
 GIT_EXTERN(int) git_apply(
        git_repository *repo,