Skip to content

Commit 66514f5

Browse files
committed
submodule: Rename _fallback to _unspecified
1 parent df6ce3b commit 66514f5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ext/rugged/rugged_submodule.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ static VALUE rb_git_submodule_status(VALUE self)
175175

176176
rugged_exception_check(
177177
git_submodule_status(&flags, repo, git_submodule_name(submodule),
178-
GIT_SUBMODULE_IGNORE_FALLBACK)
178+
GIT_SUBMODULE_IGNORE_UNSPECIFIED)
179179
);
180180

181181
return submodule_status_flags_to_rb(flags);
@@ -245,7 +245,7 @@ static VALUE rb_git_submodule_status_in_workdir(VALUE self)
245245
Data_Get_Struct(self, git_submodule, submodule); \
246246
rugged_exception_check( \
247247
git_submodule_status(&flags, repo, git_submodule_name(submodule), \
248-
GIT_SUBMODULE_IGNORE_FALLBACK) \
248+
GIT_SUBMODULE_IGNORE_UNSPECIFIED) \
249249
); \
250250
return (flags & flag) ? Qtrue : Qfalse; \
251251

@@ -369,7 +369,7 @@ static VALUE rb_git_submodule_status_untracked_files_in_workdir(VALUE self)
369369
Data_Get_Struct(self, git_submodule, submodule); \
370370
rugged_exception_check( \
371371
git_submodule_status(&flags, repo, git_submodule_name(submodule), \
372-
GIT_SUBMODULE_IGNORE_FALLBACK) \
372+
GIT_SUBMODULE_IGNORE_UNSPECIFIED) \
373373
); \
374374
return check(flags) ? Qtrue : Qfalse; \
375375

0 commit comments

Comments
 (0)