author | Junio C Hamano <junkio@cox.net> | |
Sat, 25 Nov 2006 03:07:24 +0000 (19:07 -0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Sat, 25 Nov 2006 03:07:24 +0000 (19:07 -0800) | ||
commit | 983d2ee284936e8bf14823863d3945b4d8740b94 | |
tree | c63a670875b8230ab253a58207156d1d78252985 | tree | snapshot |
parent | 7002243f7ee7eb557a1e49420487e150730ff46f | commit | diff |
git-clone: stop dumb protocol from copying refs outside heads/ and tags/.
Most notably, the original code first copied refs/remotes/ that
remote side had to local, and overwrote them by mapping refs/heads/
from the remote when a dumb protocol transport was used.
This makes the clone behaviour by dumb protocol in line with the
git native and rsync transports.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Most notably, the original code first copied refs/remotes/ that
remote side had to local, and overwrote them by mapping refs/heads/
from the remote when a dumb protocol transport was used.
This makes the clone behaviour by dumb protocol in line with the
git native and rsync transports.
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-clone.sh | diff | blob | history |