Code

git-fetch: fix dumb protocol transport to fetch from pack-pruned ref
authorJunio C Hamano <junkio@cox.net>
Thu, 23 Nov 2006 06:24:09 +0000 (22:24 -0800)
committerJunio C Hamano <junkio@cox.net>
Fri, 24 Nov 2006 00:54:54 +0000 (16:54 -0800)
commit2986c02217f98809d8990e7679edf0f5d99f904d
treefe5c08670f1d6ca6d12fdd92bd9d74fe0b5d2a2c
parent28b8e61fc63b6776a91e8afd03c7171fbf0779b0
git-fetch: fix dumb protocol transport to fetch from pack-pruned ref

Earlier, commit walkers downloaded loose refs from refs/ hierarchy
of the remote side to find where to start walking; this would
not work for a repository whose refs are packed and then pruned.

With the previous change, we have ls-remote output from the
remote in-core; we can use the value from there without
requiring loose refs anymore.

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