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 result = git_submodule_set_ignore(self.parentRepository.git_repository, git_submodule_name(self.git_submodule), (git_submodule_ignore_t)ignoreRule);
30
+
if (result != GIT_OK) {
31
+
if (error != NULL) {
32
+
*error = [NSErrorgit_errorFor:result description:@"Couldn't set submodule ignore rule."];
33
+
}
34
+
returnnil;
35
+
}
30
36
31
-
// The docs for `git_submodule_set_ignore` note "This does not affect any
32
-
// currently-loaded instances." So we need to reload.
0 commit comments