refs.c: reorder definitions more logically
commitbc5fd6d3c29f1a734ebd202573b39c1f66c41744
authorMichael Haggerty <mhagger@alum.mit.edu>
Tue, 10 Apr 2012 05:30:13 +0000 (10 07:30 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 10 Apr 2012 22:51:47 +0000 (10 15:51 -0700)
treece7707da1195aa01aaa99cda16640d4da5c9ee4c
parente8dde3e5f9ddb7cf95a6ff3cea6cf07c3a2db80d
refs.c: reorder definitions more logically

Reorder definitions in file: first check_refname_format() and helper
functions, then the functions for managing the ref_entry and ref_array
data structures, then ref_cache, then the more "business-logicky"
stuff.  No code is changed.

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