Merge pull request #2237 from mekishizufu/fix_return_value Fix submodule_is_config_only's return value
diff --git a/src/checkout.c b/src/checkout.c
index 468c8dc..141fc13 100644
--- a/src/checkout.c
+++ b/src/checkout.c
@@ -339,7 +339,7 @@ static bool submodule_is_config_only(
git_submodule_free(sm);
- return false;
+ return rval;
}
static int checkout_action_with_wd(