X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=git-clone.sh;h=4ed861d576bfaefa768f811a59d2ec53d233b5df;hb=1b371f567d9b0094918e128262577b76994eef74;hp=be471d82b8f3d15407b599dcd5e89a7669502ff4;hpb=edd3ebfe27bf0df113846a3d4616ea538f8c04be;p=git.git diff --git a/git-clone.sh b/git-clone.sh index be471d82..4ed861d5 100755 --- a/git-clone.sh +++ b/git-clone.sh @@ -154,7 +154,7 @@ yes,yes) fi && rm -f "$GIT_DIR/objects/sample" && cd "$repo" && - find objects -depth -print | cpio -puamd$l "$GIT_DIR/" || exit 1 + find objects -depth -print | cpio -pumd$l "$GIT_DIR/" || exit 1 ;; yes) mkdir -p "$GIT_DIR/objects/info" @@ -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