1
0
mirror of https://github.com/git/git.git synced 2025-03-16 16:15:15 +00:00

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
repo="$1"
dir="$2"
mkdir $dir || exit 1
cd $dir
git-init-db
git fetch "$repo" && ( git-rev-parse FETCH_HEAD > .git/HEAD )
mkdir "$dir" && cd "$dir" && git-init-db && git-clone-pack "$repo"