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
int gitError = git_stash_apply(self.git_repository, index, &stash_options);
72
+
if (gitError != GIT_OK) {
73
+
if (error != NULL) *error = [NSErrorgit_errorFor:gitError description:@"Stash apply failed"failureReason:@"The stash at index %ld couldn't be applied.", (unsignedlong)index];
int gitError = git_stash_pop(self.git_repository, index, &stash_options);
89
+
if (gitError != GIT_OK) {
90
+
if (error != NULL) *error = [NSErrorgit_errorFor:gitError description:@"Stash pop failed"failureReason:@"The stash at index %ld couldn't be applied.", (unsignedlong)index];
int gitError = git_stash_drop(self.git_repository, index);
55
98
if (gitError != GIT_OK) {
56
-
if (error != NULL) *error = [NSErrorgit_errorFor:gitError description:@"Failed to drop stash."];
99
+
if (error != NULL) *error = [NSErrorgit_errorFor:gitError description:@"Stash drop failed"failureReason:@"The stash at index %ld couldn't be dropped", (unsignedlong)index];
0 commit comments