]> git.ipfire.org Git - thirdparty/git.git/commit - refs.c
resolve_ref(): extract a function get_packed_ref()
authorMichael Haggerty <mhagger@alum.mit.edu>
Thu, 15 Sep 2011 21:10:35 +0000 (23:10 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 5 Oct 2011 20:45:30 +0000 (13:45 -0700)
commitc224ca7f66bf88bf933d05ecbc163b5bbb152098
treeeccf23f16a7837de7c988b8e73bd1959d8abbdde
parent287750507d3859ff65a7b0baac5ba1fdf30e9604
resolve_ref(): extract a function get_packed_ref()

Making it a function and giving it a name makes the code clearer.  I
also have a strong suspicion that the function will find other uses in
the future.

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