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)
commit36a7cad6e4ae8a331731666d985a7619a76bb4fb
treefcd6cd922f3f411c862176e105124229ead64dfa
parent232475d38231552f04f2e4221936700a923a531e
readrefs: grab all refs with one call to ls-remote.

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>
gitk