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
git-archive is a tool that's bundled with the git tool. The only relationship to Git is that it uses it as the source of data, but there is no logic in it that's related to Git.
Anything interesting in such a tool are in the tarball/zipfile writing functions, and that's not something that libgit2 should ever do. The Go standard library has "archive/tar", so it boils down to getting your entries (e.g. by reading a tree into an index) and iterating over them, implementing what you want out of such a tool.
Makes sense. In my case it is a bare repo from which I need to get the repo content. This will normally be done through git archive. Unfortunately, I'm not very familiar with git internals. If you could give me some hints about how to get repo content out of a bare repo, I would appreciate it.
No description provided.
The text was updated successfully, but these errors were encountered: