diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-05 15:47:34 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-05 15:47:34 -0700 |
commit | 72347a233e6f3c176059a28f0817de6654ef29c7 (patch) | |
tree | cb9bd024b929694b7f9e95b9feb8e046db830f7a /git-clone-script | |
parent | 1fcc8ea55d9a126156c037a8c80dc256ceec0855 (diff) | |
download | git-72347a233e6f3c176059a28f0817de6654ef29c7.tar.gz git-72347a233e6f3c176059a28f0817de6654ef29c7.tar.xz |
Make "git clone" use the new git-clone-pack
Diffstat (limited to 'git-clone-script')
-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 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" |