objective-git icon indicating copy to clipboard operation
objective-git copied to clipboard

How to get all object ids in the object database? git_odb_foreach()?

Open MW3000 opened this issue 9 years ago • 1 comments

I am trying to get a list of all (including the ones not referenced by a commit) object ids in the object database. I found git_odb_foreach() in libgit2, but nothing in objective-git.

Is there currently a way to achieve this? Would you consider adding the functionality?

MW3000 avatar Mar 30 '16 15:03 MW3000

I don't know if there is currently a way to do that in ObjectiveGit. There are quite some enumerations in ObjectiveGit so you could take a look at that and make a PullRequest?

pietbrauer avatar Mar 30 '16 16:03 pietbrauer