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:
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…
x
Reference in New Issue
Block a user