Make "git clone" use the new git-clone-pack
parent
1fcc8ea55d
commit
72347a233e
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue