Make sure alternates are carried over from the original repository.

When we create a cheap local clone by pointing at the object databse
of the original repository, we forgot to take the alternates the original
repository might have had into account.

Signed-off-by: Junio C Hamano <junkio@cox.net>
diff --git a/git-clone-script b/git-clone-script
index 909ccc5..99c2459 100755
--- a/git-clone-script
+++ b/git-clone-script
@@ -81,7 +81,11 @@
 	    ;;
 	yes)
 	    mkdir -p "$D/.git/objects/info"
-	    echo "$repo/objects" >"$D/.git/objects/info/alternates"
+	    {
+		test -f "$repo/objects/info/alternates" &&
+		cat "$repo/objects/info/alternates";
+		echo "$repo/objects"
+	    } >"$D/.git/objects/info/alternates"
 	    ;;
 	esac