Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make GTReflog's initWithReference public #578

Closed
Uncommon opened this issue Jun 3, 2016 · 2 comments
Closed

Make GTReflog's initWithReference public #578

Uncommon opened this issue Jun 3, 2016 · 2 comments
Labels

Comments

@Uncommon
Copy link
Contributor

Uncommon commented Jun 3, 2016

-[GTRefLog initWithReference:] is in GTReflog+Private.h for reasons that are not clear to me. I've found a situation where I want to use it, so I ended up writing a category interface to expose it since I can't access that header from the framework.

My situation is that I want to get information about a specific stash, so I'm imitating what's in git_stash_foreach, except using ObjGit classes and using a specific index instead of iterating over all stashes.

I'll gladly do a pull request, but I wanted to make sure there isn't an alternative that I missed.

@pietbrauer
Copy link
Member

I don't see a reason why it should be private, would be happy if you would do a PullRequest.

@pietbrauer
Copy link
Member

Closed via #596

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants