is_refname_available(): convert local variable "dirname" to strbuf
commit6075f3076e8a7fea0a132d459d1e21e771cdd880
authorMichael Haggerty <mhagger@alum.mit.edu>
Mon, 11 May 2015 15:25:06 +0000 (11 17:25 +0200)
committerJunio C Hamano <gitster@pobox.com>
Mon, 11 May 2015 18:50:17 +0000 (11 11:50 -0700)
tree90d6a2070e240656cf888a67b97e0209ff914ad0
parent9ef6eaa287b12ff9469c7775507f107b86f9a8c8
is_refname_available(): convert local variable "dirname" to strbuf

This change wouldn't be worth it by itself, but in a moment we will
use the strbuf for more string juggling.

Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
refs.c