Add checkout strategy to stash apply/pop methods by slavikus · Pull Request #606 · libgit2/objective-git
For a finer control over the unstash process, propogate checkout strategy to Objective-Git from the underlying libgit2 stash methods by adding an extra strategy argument to -[GTRepository applyStashAtIndex:…] and -[GTRepository popStashAtIndex:…]
For a finer control over the unstash process, propogate checkout strategy to Objective-Git from the underlying libgit2 stash methods.
@tiennou , I'm going to flood you with these one by one now :D
@slavikus So it's basically adding (with a default checkout strategy) and two new lines or did something go wrong in the merging?
@pietbrauer In this PR, I've added checkout strategy as a separate parameter; in #459 , it was replaced by more generic (and more broad) GTCheckoutOptions class, so I've removed the more shallow variant that was previously used here.
Nah, not really. #459 basically superceeded this one entirely. :)
However, now when I think of it, the "(with a default checkout strategy)" makes no sense anymore. :) I'll push a clarifying commit.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters