Merge branches 'maint', 'jc/fix-co-candy' and 'jc/fix-rename-leak' into next
[git.git] / git-clone.sh
index dc0ad55..a059088 100755 (executable)
@@ -253,7 +253,7 @@ Pull: $head_points_at:$origin" &&
 
        case "$no_checkout" in
        '')
-               git checkout
+               git-read-tree -m -u -v HEAD HEAD
        esac
 fi