summaryrefslogtreecommitdiff
path: root/include/git2/notes.h
diff options
context:
space:
mode:
authorVicent Martí <tanoku@gmail.com>2012-05-18 13:53:38 -0700
committerVicent Martí <tanoku@gmail.com>2012-05-18 13:53:38 -0700
commit59d91979d87b8d355696a943f562eb326cee6c38 (patch)
tree4b76f8371ecb965d3d40423166c73e22db19e272 /include/git2/notes.h
parent498b72eb6fdc8b34c1d52b6bb09ba8a198f86666 (diff)
parent904b67e69fa15b7a3246e43b3d78645ffa2331f6 (diff)
downloadlibgit2-59d91979d87b8d355696a943f562eb326cee6c38.tar.gz
Merge pull request #710 from libgit2/breaking-changes
Break everything before the release
Diffstat (limited to 'include/git2/notes.h')
-rw-r--r--include/git2/notes.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/git2/notes.h b/include/git2/notes.h
index ece5b274d..19073abd1 100644
--- a/include/git2/notes.h
+++ b/include/git2/notes.h
@@ -28,7 +28,7 @@ GIT_BEGIN_DECL
* @param notes_ref OID reference to use (optional); defaults to "refs/notes/commits"
* @param oid OID of the object
*
- * @return GIT_SUCCESS or an error code
+ * @return 0 or an error code
*/
GIT_EXTERN(int) git_note_read(git_note **note, git_repository *repo,
const char *notes_ref, const git_oid *oid);
@@ -62,7 +62,7 @@ GIT_EXTERN(const git_oid *) git_note_oid(git_note *note);
* @param oid The OID of the object
* @param oid The note to add for object oid
*
- * @return GIT_SUCCESS or an error code
+ * @return 0 or an error code
*/
GIT_EXTERN(int) git_note_create(git_oid *out, git_repository *repo,
git_signature *author, git_signature *committer,
@@ -79,7 +79,7 @@ GIT_EXTERN(int) git_note_create(git_oid *out, git_repository *repo,
* @param committer signature of the notes commit committer
* @param oid the oid which note's to be removed
*
- * @return GIT_SUCCESS or an error code
+ * @return 0 or an error code
*/
GIT_EXTERN(int) git_note_remove(git_repository *repo, const char *notes_ref,
git_signature *author, git_signature *committer,
@@ -98,7 +98,7 @@ GIT_EXTERN(void) git_note_free(git_note *note);
* @param out Pointer to the default notes reference
* @param repo The Git repository
*
- * @return GIT_SUCCESS or an error code
+ * @return 0 or an error code
*/
GIT_EXTERN(int) git_note_default_ref(const char **out, git_repository *repo);
@@ -125,7 +125,7 @@ typedef struct {
*
* @param payload Extra parameter to callback function.
*
- * @return GIT_SUCCESS or an error code.
+ * @return 0 or an error code.
*/
GIT_EXTERN(int) git_note_foreach(
git_repository *repo,