You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> head release.tar
pax_global_header00006660000000000000000000000064143737264400014524gustar00rootroot0000000000000052 comment=8ddd2a4eb6045710c1bac9761e97152cf6af4b8a
Describe the feature
I'd like to inform the user what is the git commit hash that is being downloaded when a branch or tag is passed.
Since giget doesn't depend on git, we'd need to assume that the tarball downloaded from the providers are generated using
git archive
.If that's the case, the commit id could be retrieved from the tarball.
Example:
wget https://codeload.github.com/unjs/giget/tar.gz/tags/v1.1.2 zcat v1.1.2 | git get-tar-commit-id 8ddd2a4eb6045710c1bac9761e97152cf6af4b8a
8ddd2a4
Additional information
The text was updated successfully, but these errors were encountered: