refs_read_raw_ref(): new function
commit470be518623b0ca7a30bdb1fcef483f63a8e72ec
authorMichael Haggerty <mhagger@alum.mit.edu>
Mon, 20 Mar 2017 16:33:07 +0000 (20 17:33 +0100)
committerJunio C Hamano <gitster@pobox.com>
Fri, 14 Apr 2017 10:54:31 +0000 (14 03:54 -0700)
tree48eea01b7ed599b8e4c5aeb8a962367db721b510
parent68fb02e40de22d38cb8988c524e31f93dc40c224
refs_read_raw_ref(): new function

Extract a new function from `refs_resolve_ref_unsafe()`. It will be
useful elsewhere.

Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
refs.c
refs/refs-internal.h