How do smart git helpers transport objects?

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

 



Hello,

I'm writing a remote helper and decided implement the `fetch` and `push` capabilities,
but one thing still remains a mystery for me. Namely, is my helper supposed
to instantiate and pin git objects in `GIT_DIR` upon `fetch <sha> <ref>`?

In general I'm trying to determine how exactly I need to proceed upon receiving
this command and find out whether libgit2 will be able to help me with whatever that is.

I'm also contemplating hooking up to libgit2's transport API, but IIUC its operation isn't
very well suited for the backend I'm trying to use behind the scenes (IPFS,https://ipfs.io/,
long story short it's P2P and doesn't have a "server side" per se).

Thanks,
Stan

PS: If my libgit2 questions feel outside scope I'd gladly join a community more focused
on libgit2; I'm already on #libgit2 on freenode, but there's only 11 people there ATM





[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux