| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
There was a problem hiding this comment.
Damnit!
Sorry, something went wrong.
I find it really annoying that we have to do `NodeGit.Clone.clone` just to clone a repository. It would be much nicer to get a similar effect like in C, where you can run `git_clone`. This copies over the effect of an object, but actually using our `clone` patched function instead. I've made this commit first to show it does not introduce regressions with our current clone code.
|
This flows much better than NodeGit.Clone.clone 👍 |
Sorry, something went wrong.
|
Cool, merging! |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Right now we have the current call mechanism for clone:
This is pretty verbose, compared to:
So I've fixed that in the JS-side. The top-level NodeGit.Clone Object is now a Function that behaves like an Object.
This is not a backwards-breaking change, so hopefully we're all in favor?