[gnome-builder] git: ensure ref_names is passed to worker



commit 2fff3c49e9bd19e56e4fc0b0ac93fefaec77f1d9
Author: Christian Hergert <chergert redhat com>
Date:   Sun May 5 21:48:25 2019 -0700

    git: ensure ref_names is passed to worker

 src/plugins/git/daemon/ipc-git-repository-impl.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/plugins/git/daemon/ipc-git-repository-impl.c 
b/src/plugins/git/daemon/ipc-git-repository-impl.c
index 00d8cf483..7f010427a 100644
--- a/src/plugins/git/daemon/ipc-git-repository-impl.c
+++ b/src/plugins/git/daemon/ipc-git-repository-impl.c
@@ -843,6 +843,7 @@ ipc_git_repository_impl_handle_push (IpcGitRepository      *repository,
   ggit_push_options_set_remote_callbacks (push_options, callbacks);
 
   push = g_slice_new0 (Push);
+  push->ref_names = g_strdupv ((gchar **)ref_names);
   push->remote = g_steal_pointer (&remote);
   push->progress = g_steal_pointer (&progress);
   push->callbacks = g_steal_pointer (&callbacks);


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