readrefs: grab all refs with one call to ls-remote.
authorJunio C Hamano <junkio@cox.net>
Sat, 19 Nov 2005 07:54:17 +0000 (23:54 -0800)
committerJunio C Hamano <junkio@cox.net>
Sat, 19 Nov 2005 07:54:17 +0000 (23:54 -0800)
Instead of reading refs/heads/* and refs/tags/* files ourselves
and missing files in subdirectories of heads/ and tags/, use
ls-remote on local repository and grab all of them. This lets us
also remove the procedure readotherrefs.

Signed-off-by: Junio C Hamano <junkio@cox.net>
No differences found