Commit 64a862c2b88e2c92157e9b5f257fa433612bd828

Vicent Marti 2014-04-02T18:48:38

Merge pull request #2237 from mekishizufu/fix_return_value Fix submodule_is_config_only's return value

1
2
3
4
5
6
7
8
9
10
11
12
13
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(