Closed ahmedalhulaibi closed 3 years ago
This should also address #354
@shawnps @hermanschaaf any chance this can get a review?
This should also address #357
@ahmedalhulaibi we're now using the Go module proxy to download .zip files of module contents, so this git code doesn't exist anymore. Thanks for the contribution but I'm going to go ahead and close this PR.
@shawnps could you then deprecate this repo and make this in the README? I would want anyone using this tool to not go on this rabbit hole aswell
@georgettica sorry, deprecate the repo?
Since we're using the Go module proxy to download module contents, branch name doesn't matter anymore. Let me know if you have any questions about that.
Oh sorry, I thought it was a different PR entirely (lost my context) Oki! Thanks :)
@georgettica no worries! Feel free to open issues if you have any other requests 😄
I'll reopen and tag you :)
Addressing #352
This adds go-git as a dependency and uses it to fetch
HEAD
and the default branch name. This way this project can support any default branchmain
,master
,dev
, etc.