Using the result of 'remote-create-detached' leads to segfaults
Try running the following code:
(use-modules (git))
(libgit2-init!)
(define url (getcwd))
(define remote (remote-create-detached url))
(pk 'remote remote)
(pk 'connected? #f '= (remote-connected? remote))
(remote-connect remote)
(pk 'connected? #t '= (remote-connected? remote))
(pk "not printed due to a segfault in the previous line")
It segfaults. I'll look into attaching GDB ...