diff --git a/git-clone.sh b/git-clone.sh index c27a913b1d..1adf604172 100755 --- a/git-clone.sh +++ b/git-clone.sh @@ -126,8 +126,7 @@ yes,yes) fi && rm -f "$D/.git/objects/sample" && cd "$repo" && - find objects -type f -print | - cpio -puamd$l "$D/.git/" || exit 1 + find objects -depth -print | cpio -puamd$l "$D/.git/" || exit 1 ;; yes) mkdir -p "$D/.git/objects/info"