Make "git clone" use the new git-clone-pack

This commit is contained in:
Linus Torvalds 2005-07-05 15:47:34 -07:00
parent 1fcc8ea55d
commit 72347a233e

View File

@ -1,7 +1,4 @@
#!/bin/sh #!/bin/sh
repo="$1" repo="$1"
dir="$2" dir="$2"
mkdir $dir || exit 1 mkdir "$dir" && cd "$dir" && git-init-db && git-clone-pack "$repo"
cd $dir
git-init-db
git fetch "$repo" && ( git-rev-parse FETCH_HEAD > .git/HEAD )