[gnome-builder] git: stub out update_tips



commit 5dc280c4161bc7a139fbc4f5cb2dd296b66ce0f4
Author: Christian Hergert <chergert redhat com>
Date:   Sun May 5 21:47:51 2019 -0700

    git: stub out update_tips
    
    We might want to track this in the future to propagate
    information to the UI process.

 src/plugins/git/daemon/ipc-git-remote-callbacks.c | 9 +++++++++
 1 file changed, 9 insertions(+)
---
diff --git a/src/plugins/git/daemon/ipc-git-remote-callbacks.c 
b/src/plugins/git/daemon/ipc-git-remote-callbacks.c
index 036eaba05..58b2622ca 100644
--- a/src/plugins/git/daemon/ipc-git-remote-callbacks.c
+++ b/src/plugins/git/daemon/ipc-git-remote-callbacks.c
@@ -136,6 +136,14 @@ ipc_git_remote_callbacks_transfer_progress (GgitRemoteCallbacks  *callbacks,
     }
 }
 
+static void
+ipc_git_remote_callbacks_update_tips (GgitRemoteCallbacks *callbacks,
+                                      const gchar         *refname,
+                                      const GgitOId       *a,
+                                      const GgitOId       *b)
+{
+}
+
 static void
 ipc_git_remote_callbacks_finalize (GObject *object)
 {
@@ -157,6 +165,7 @@ ipc_git_remote_callbacks_class_init (IpcGitRemoteCallbacksClass *klass)
   callbacks_class->credentials = ipc_git_remote_callbacks_real_credentials;
   callbacks_class->progress = ipc_git_remote_callbacks_progress;
   callbacks_class->transfer_progress = ipc_git_remote_callbacks_transfer_progress;
+  callbacks_class->update_tips = ipc_git_remote_callbacks_update_tips;
 }
 
 static void


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]