Use resolve_ref() to implement read_ref().
authorJunio C Hamano <junio@twinsun.com>
Fri, 30 Sep 2005 21:08:25 +0000 (14:08 -0700)
committerJunio C Hamano <junkio@cox.net>
Sun, 2 Oct 2005 06:19:33 +0000 (23:19 -0700)
commita876ed83be5467d6075da8a16306724cb1babc2a
treee059141db27747dda564fa5981c3f27ebeb04cc8
parentca8db1424d1808a1f78bc9905efd267f7c154d8e
Use resolve_ref() to implement read_ref().

Symbolic refs are understood by resolve_ref(), so existing read_ref()
users will automatically understand them as well.

Signed-off-by: Junio C Hamano <junio@twinsun.com>
cache.h
refs.c
update-ref.c