[libgit2-glib] branch: fix branch_move api break
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgit2-glib] branch: fix branch_move api break
- Date: Tue, 30 Jun 2015 17:25:53 +0000 (UTC)
commit 797cd7ce5530c04a0b96467ef4677a8a597018e1
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Tue Jun 30 19:24:49 2015 +0200
branch: fix branch_move api break
libgit2-glib/ggit-branch.c | 8 +-------
libgit2-glib/ggit-branch.h | 2 --
2 files changed, 1 insertions(+), 9 deletions(-)
---
diff --git a/libgit2-glib/ggit-branch.c b/libgit2-glib/ggit-branch.c
index f29143f..ddbfb27 100644
--- a/libgit2-glib/ggit-branch.c
+++ b/libgit2-glib/ggit-branch.c
@@ -76,8 +76,6 @@ ggit_branch_delete (GgitBranch *branch,
* @branch: a #GgitBranch.
* @new_branch_name: target name of the branch once the move is performed; this name is validated for
consistency.
* @flags: a #GgitCreateFlags.
- * @signature: a #GgitSignature used to populate the reflog entry.
- * @log_message: The one line long message to be appended to the reflog.
* @error: a #GError for error reporting, or %NULL.
*
* Moves/renames an existing branch reference.
@@ -88,8 +86,6 @@ GgitBranch *
ggit_branch_move (GgitBranch *branch,
const gchar *new_branch_name,
GgitCreateFlags flags,
- GgitSignature *signature,
- const gchar *log_message,
GError **error)
{
git_reference *out;
@@ -105,9 +101,7 @@ ggit_branch_move (GgitBranch *branch,
ret = git_branch_move (&out,
_ggit_native_get (branch),
new_branch_name,
- force ? 1 : 0,
- _ggit_native_get (signature),
- log_message);
+ force ? 1 : 0);
if (ret != GIT_OK)
{
diff --git a/libgit2-glib/ggit-branch.h b/libgit2-glib/ggit-branch.h
index 230ae18..06a8bfe 100644
--- a/libgit2-glib/ggit-branch.h
+++ b/libgit2-glib/ggit-branch.h
@@ -59,8 +59,6 @@ void ggit_branch_delete (GgitBranch *branch,
GgitBranch *ggit_branch_move (GgitBranch *branch,
const gchar *new_branch_name,
GgitCreateFlags flags,
- GgitSignature *signature,
- const gchar *log_message,
GError **error);
const gchar *ggit_branch_get_name (GgitBranch *branch,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]