X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=git-clone.sh;h=b78524767c0a3fd8ce99412e1d0b92a9a9ba26fb;hb=d9635e9c539465792b1920437b52fa8792a71650;hp=0805168057c871549d87ff4e9e30d654abbed0a4;hpb=1a17ee22a2fbd85a893ab36fd53168d03554c2dd;p=git.git diff --git a/git-clone.sh b/git-clone.sh index 08051680..b7852476 100755 --- a/git-clone.sh +++ b/git-clone.sh @@ -265,7 +265,7 @@ yes,yes) test -f "$repo/objects/info/alternates" && cat "$repo/objects/info/alternates"; echo "$repo/objects" - } >"$GIT_DIR/objects/info/alternates" + } >>"$GIT_DIR/objects/info/alternates" ;; esac git-ls-remote "$repo" >"$GIT_DIR/CLONE_HEAD"