git-clone --reference: work well with pack-ref'ed reference repository
authorJunio C Hamano <junkio@cox.net>
Wed, 7 Feb 2007 10:10:56 +0000 (02:10 -0800)
committerJunio C Hamano <junkio@cox.net>
Wed, 7 Feb 2007 10:10:56 +0000 (02:10 -0800)
commit099c7837678361985ca9df1240cdaf6a42fc89f9
treed0e384b03f958f3007a1593e8bf4f6b521e5db09
parent563b43ee45b87cf1e4bba99d3d0216f396d5c873
git-clone --reference: work well with pack-ref'ed reference repository

Earlier we only used loose refs to anchor already existing
objects.  When cloning from a repository that forked relatively
long time ago from the reference repository, this made the
want/have exchange by fetch-pack to do unnecessary work.

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