Browse Source

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

maint
Linus Torvalds 20 years ago
parent
commit
72347a233e
  1. 5
      git-clone-script

5
git-clone-script

@ -1,7 +1,4 @@ @@ -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…
Cancel
Save