Provide cancellation for ggit_repository_clone()
@chergert
Submitted by Christian Hergert Link to original bug (#779963)
Description
In Builder we need to support the cancellation of an operation such as clone. Right now there is no way to provide a GCancellable to the ggit_repository_clone() operation. Instead, we just set g_task_set_return_on_cancel() so that our UI does what is expected, even though the clone continues in the background.
Instead, we need a way to probably call ggit_remote_disconnect() so that we can truly stop the operation.
Version: git master