[libgit2-glib] repository: follow libgit2 on the create_note arguments order
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgit2-glib] repository: follow libgit2 on the create_note arguments order
- Date: Sun, 18 Jan 2015 13:10:08 +0000 (UTC)
commit c3cda865ed05ba41d418b56d6f635fb472cabc48
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Sun Jan 18 14:09:28 2015 +0100
repository: follow libgit2 on the create_note arguments order
libgit2-glib/ggit-repository.c | 4 ++--
libgit2-glib/ggit-repository.h | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/libgit2-glib/ggit-repository.c b/libgit2-glib/ggit-repository.c
index f3aa5d7..77c543d 100644
--- a/libgit2-glib/ggit-repository.c
+++ b/libgit2-glib/ggit-repository.c
@@ -3083,9 +3083,9 @@ ggit_repository_get_default_notes_ref (GgitRepository *repository,
/**
* ggit_repository_create_note:
* @repository: a #GgitRepository.
+ * @notes_ref: (allow-none): canonical name of the reference to use, or %NULL to use the default ref.
* @author: author signature.
* @committer: committer signature.
- * @notes_ref: (allow-none): canonical name of the reference to use, or %NULL to use the default ref.
* @id: OID of the git object to decorate.
* @note: content of the note to add for object oid.
* @force: whether to overwrite existing note.
@@ -3097,9 +3097,9 @@ ggit_repository_get_default_notes_ref (GgitRepository *repository,
*/
GgitOId *
ggit_repository_create_note (GgitRepository *repository,
+ const gchar *notes_ref,
GgitSignature *author,
GgitSignature *committer,
- const gchar *notes_ref,
GgitOId *id,
const gchar *note,
gboolean force,
diff --git a/libgit2-glib/ggit-repository.h b/libgit2-glib/ggit-repository.h
index e331788..e47ae60 100644
--- a/libgit2-glib/ggit-repository.h
+++ b/libgit2-glib/ggit-repository.h
@@ -392,9 +392,9 @@ const gchar *ggit_repository_get_default_notes_ref (GgitRepository
GError **error);
GgitOId *ggit_repository_create_note (GgitRepository *repository,
+ const gchar *notes_ref,
GgitSignature *author,
GgitSignature *committer,
- const gchar *notes_ref,
GgitOId *id,
const gchar *note,
gboolean force,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]