Skip to content

Commit 5647d74

Browse files
committed
Merge branch 'ab/submodule-helper-prep' into ab/submodule-helper-leakfix
* ab/submodule-helper-prep: (33 commits) submodule--helper: fix bad config API usage submodule--helper: libify even more "die" paths for module_update() submodule--helper: libify more "die" paths for module_update() submodule--helper: check repo{_submodule,}_init() return values submodule--helper: libify "must_die_on_failure" code paths (for die) submodule--helper update: don't override 'checkout' exit code submodule--helper: libify "must_die_on_failure" code paths submodule--helper: libify determine_submodule_update_strategy() submodule--helper: don't exit() on failure, return submodule--helper: use "code" in run_update_command() submodule API: don't handle SM_..{UNSPECIFIED,COMMAND} in to_string() submodule--helper: don't call submodule_strategy_to_string() in BUG() submodule--helper: add missing braces to "else" arm submodule--helper: return "ret", not "1" from update_submodule() submodule--helper: rename "int res" to "int ret" submodule--helper: don't redundantly check "else if (res)" submodule--helper: refactor "errmsg_str" to be a "struct strbuf" submodule--helper: add "const" to passed "struct update_data" submodule--helper: add "const" to copy of "update_data" submodule--helper: add "const" to passed "module_clone_data" ...
2 parents 71a8fab + d4a492f commit 5647d74

16 files changed

+467
-371
lines changed

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -785,6 +785,7 @@ TEST_BUILTINS_OBJS += test-strcmp-offset.o
785785
TEST_BUILTINS_OBJS += test-string-list.o
786786
TEST_BUILTINS_OBJS += test-submodule-config.o
787787
TEST_BUILTINS_OBJS += test-submodule-nested-repo-config.o
788+
TEST_BUILTINS_OBJS += test-submodule.o
788789
TEST_BUILTINS_OBJS += test-subprocess.o
789790
TEST_BUILTINS_OBJS += test-trace2.o
790791
TEST_BUILTINS_OBJS += test-urlmatch-normalization.o

0 commit comments

Comments
 (0)