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

Apply an stash to a repository #453

Closed
evianzhow opened this issue Apr 1, 2015 · 6 comments
Closed

Apply an stash to a repository #453

evianzhow opened this issue Apr 1, 2015 · 6 comments

Comments

@evianzhow
Copy link
Contributor

In the example of GTRepository+Stashing.h and GTRepositoryStashingSpec.m, I can use objective-git to create and enumerate stashes, but I found that there is no way to apply any stash. I don't know why there haven't such an API to do that. So could you add that feature during your next shipping?

@joshaber
Copy link
Member

joshaber commented Apr 1, 2015

This functionality doesn't yet exist in libgit2 (which is what objective-git wraps).

There's currently a PR open which adds it: libgit2/libgit2#3018. Once that lands in libgit2, we'd welcome a PR which exposes it through objective-git ✨

@tiennou
Copy link
Contributor

tiennou commented Apr 1, 2015

(which I happen to have lying around, but it's waiting on libgit2 support)

@joshaber
Copy link
Member

joshaber commented Apr 1, 2015

💖 @tiennou 🤘

@phatblat
Copy link
Member

phatblat commented Aug 8, 2015

libgit2/libgit2#3018 was merged on May 12 and we've bumped libgit2 a couple times since then, so I suspect this request is no longer blocked.

@tiennou do you feel like taking this on?

@tiennou
Copy link
Contributor

tiennou commented Aug 9, 2015

#501 ! As I said there I might or might not have the time to setup tests for this, but feel free to use that as a basis.

@phatblat
Copy link
Member

phatblat commented Apr 7, 2016

Closing as #501 has been merged.

@phatblat phatblat closed this as completed Apr 7, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants