author | Junio C Hamano <junkio@cox.net> | |
Sat, 17 Sep 2005 18:56:41 +0000 (11:56 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sat, 17 Sep 2005 18:56:41 +0000 (11:56 -0700) | ||
commit | 4447badcd22a889d656192803eff1003602839c5 | |
tree | 6194c273a13907fea9bb5df76e681bec1c9df462 | tree | snapshot |
parent | 8805ccac40348094d26b3b892c6ca3d08dc12ae0 | commit | diff |
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>
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 | diff | blob | history | |
git-fetch.sh | diff | blob | history | |
git-parse-remote.sh | diff | blob | history |