Commit 2850252af7e9baf070a495f60781d2424e6a0b32

Russell Belfer 2013-01-03T09:11:52

Oh yeah, bugs from my rebase

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/src/clone.c b/src/clone.c
index 39c0ba2..ff586a6 100644
--- a/src/clone.c
+++ b/src/clone.c
@@ -362,7 +362,7 @@ static bool should_checkout(
 	if (!opts)
 		return false;
 
-	if (opts->checkout_strategy == GIT_CHECKOUT_DEFAULT)
+	if (opts->checkout_strategy == GIT_CHECKOUT_NONE)
 		return false;
 
 	return !git_repository_head_orphan(repo);