-
Notifications
You must be signed in to change notification settings - Fork 24
remove git binary dependency #158
Comments
Awesome! I'd love to get rid of the binary dependency, and wouldn't mind avoiding cgo-derived complications from relying on libgit2, either. At the same time, libgit2 offers guarantees about comparable behavior to git itself that I don't know if go-git also offers. If there's anything public/explicit about such guarantees, could you point me to them? There'd be two basic ways of going about this - either contributing the changes to Masterminds/vcs, or making them directly here. I lean towards the latter, because I expect we'd be able to take advantage of optimizations that would be difficult/a bad idea to try to represent in that project's cross-vcs interface. |
I prefer do the implementation here since, having as interfaces, as you mention will be a problem. |
sounds good enough to me to get started on a PR, at the very least :) The two things I'd highlight as needing close attention are submodule cleanup (see Masterminds/vcs#60) and the export behavior. The latter could really be optimized once things like vendor pruning (golang/dep#120) settle. |
Oh, I didn't though in submodules, was a more or less forgotten feature at go-git, we will work on it. And I will come back here. |
Yeah, I also basically wish they didn't exist (as evidenced by the title of that issue). I look forward to it! |
This issue was moved to golang/dep#424 |
Using
go-git
a pure Go git implementation the dependency of the git binary can be removed, also this will give more flexibility at the time of work with git repositoriesI will be glad of make a PR with the changes suggested
The text was updated successfully, but these errors were encountered: