summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRussell Belfer <rb@github.com>2013-01-03 09:11:52 -0800
committerRussell Belfer <rb@github.com>2013-01-04 15:47:44 -0800
commit2850252af7e9baf070a495f60781d2424e6a0b32 (patch)
tree2d757e18243829d6312413b7e9dc222a00b76556 /src
parent77cffa31db07187c2fa65457ace1b6cb2547dc5b (diff)
downloadlibgit2-2850252af7e9baf070a495f60781d2424e6a0b32.tar.gz
Oh yeah, bugs from my rebase
Diffstat (limited to 'src')
-rw-r--r--src/clone.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/clone.c b/src/clone.c
index 39c0ba26c..ff586a68a 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);