Teach rsync transport about alternates.
commit4447badcd22a889d656192803eff1003602839c5
authorJunio C Hamano <junkio@cox.net>
Sat, 17 Sep 2005 18:56:41 +0000 (17 11:56 -0700)
committerJunio C Hamano <junkio@cox.net>
Sat, 17 Sep 2005 18:56:41 +0000 (17 11:56 -0700)
tree6194c273a13907fea9bb5df76e681bec1c9df462
parent8805ccac40348094d26b3b892c6ca3d08dc12ae0
Teach rsync transport about alternates.

For local operations and downloading and uploading via git aware protocols,
use of $GIT_OBJECT_DIRECTORY/info/alternates is recommended on the server
side for big projects that are derived from another one (like Linux kernel).

However, dumb protocols and rsync transport needs to resolve this on the
client end, which we did not bother doing until this week.

I noticed we use "rsync -z" but most of our payload is already compressed,
which was not quite right.  This commit also fixes it.

Signed-off-by: Junio C Hamano <junkio@cox.net>
git-clone.sh
git-fetch.sh
git-parse-remote.sh