get_ref_dir(): use a strbuf to hold refname
commit72b64b44e77112b93e7b046e54c62a01e69cef3d
authorMichael Haggerty <mhagger@alum.mit.edu>
Tue, 24 Apr 2012 22:45:08 +0000 (25 00:45 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 3 May 2012 20:15:09 +0000 (3 13:15 -0700)
tree1c321a84832098d23d932b7caf2fa175a279771f
parentd5fdae67379778502ca8b3b3186ce4692d912e30
get_ref_dir(): use a strbuf to hold refname

This simplifies the bookkeeping and allows an (artificial) restriction
on refname component length to be removed.

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