Commit 49653665d11cbb5d14d5ad19c327798c98b0cfd1

Jiri Pospisil 2014-04-02T18:21:41

checkout: 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(