diff options
author | Vicent Martà <vicent@github.com> | 2012-11-13 14:13:47 -0800 |
---|---|---|
committer | Vicent Martà <vicent@github.com> | 2012-11-13 14:13:47 -0800 |
commit | aa1c3b588edae7c6d718e85bce54d990c69cd535 (patch) | |
tree | 3004114ad897d7c8070f9c588feb96af86d0261f /src/clone.c | |
parent | 262274748f1c3cb6de4fa621100033eda6984166 (diff) | |
parent | 757b406504021b3a73e52ce9f95d590d65c7dce5 (diff) | |
download | libgit2-aa1c3b588edae7c6d718e85bce54d990c69cd535.tar.gz |
Merge pull request #1016 from arrbee/fix-checkout-dir-removal
Update checkout with new strategies & behavior
Diffstat (limited to 'src/clone.c')
-rw-r--r-- | src/clone.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/clone.c b/src/clone.c index d75fee213..9ef6f8100 100644 --- a/src/clone.c +++ b/src/clone.c @@ -344,7 +344,7 @@ static int clone_internal( fetch_progress_cb, fetch_progress_payload)) < 0) { /* Failed to fetch; clean up */ git_repository_free(repo); - git_futils_rmdir_r(path, NULL, GIT_DIRREMOVAL_FILES_AND_DIRS); + git_futils_rmdir_r(path, NULL, GIT_RMDIR_REMOVE_FILES); } else { *out = repo; retcode = 0; |