diff options
-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" |