summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: dd05ea1)
raw | patch | inline | side by side (parent: dd05ea1)
author | Martin Waitz <tali@admingilde.org> | |
Sun, 7 May 2006 18:19:33 +0000 (20:19 +0200) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sun, 7 May 2006 22:41:35 +0000 (15:41 -0700) |
Now that the cloned alternates file is parsed, too we don't need to
copy it into our new repository, we just reference it.
Signed-off-by: Martin Waitz <tali@admingilde.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
copy it into our new repository, we just reference it.
Signed-off-by: Martin Waitz <tali@admingilde.org>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-clone.sh | patch | blob | history |
diff --git a/git-clone.sh b/git-clone.sh
index b78524767c0a3fd8ce99412e1d0b92a9a9ba26fb..227245c865e3f33e3b795868c484a41d590c553a 100755 (executable)
--- a/git-clone.sh
+++ b/git-clone.sh
;;
yes)
mkdir -p "$GIT_DIR/objects/info"
- {
- test -f "$repo/objects/info/alternates" &&
- cat "$repo/objects/info/alternates";
- echo "$repo/objects"
- } >>"$GIT_DIR/objects/info/alternates"
+ echo "$repo/objects" >> "$GIT_DIR/objects/info/alternates"
;;
esac
git-ls-remote "$repo" >"$GIT_DIR/CLONE_HEAD"