]> git.ipfire.org Git - thirdparty/git.git/commit - git-clone.sh
git-clone: stop dumb protocol from copying refs outside heads/ and tags/.
authorJunio C Hamano <junkio@cox.net>
Sat, 25 Nov 2006 03:07:24 +0000 (19:07 -0800)
committerJunio C Hamano <junkio@cox.net>
Sat, 25 Nov 2006 03:07:24 +0000 (19:07 -0800)
commit983d2ee284936e8bf14823863d3945b4d8740b94
treec63a670875b8230ab253a58207156d1d78252985
parent7002243f7ee7eb557a1e49420487e150730ff46f
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>
git-clone.sh