From: Linus Torvalds Date: Tue, 5 Jul 2005 22:47:34 +0000 (-0700) Subject: Make "git clone" use the new git-clone-pack X-Git-Tag: v0.99~65 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=72347a233e6f3c176059a28f0817de6654ef29c7;p=git.git Make "git clone" use the new git-clone-pack --- diff --git a/git-clone-script b/git-clone-script index 654f66dcc..28a932126 100755 --- a/git-clone-script +++ b/git-clone-script @@ -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"