diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-06 02:47:34 +0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-06 02:47:34 +0400 |
commit | 72347a233e6f3c176059a28f0817de6654ef29c7 (patch) | |
tree | cb9bd024b929694b7f9e95b9feb8e046db830f7a | |
parent | 1fcc8ea55d9a126156c037a8c80dc256ceec0855 (diff) |
Make "git clone" use the new git-clone-pack
-rwxr-xr-x | git-clone-script | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/git-clone-script b/git-clone-script index 654f66dcc2..28a9321269 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" |