From 72347a233e6f3c176059a28f0817de6654ef29c7 Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Tue, 5 Jul 2005 15:47:34 -0700 Subject: [PATCH] Make "git clone" use the new git-clone-pack --- git-clone-script | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/git-clone-script b/git-clone-script index 654f66dc..28a93212 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" -- 2.11.0