do_for_each_reflog(): use a strbuf to hold logfile name
authorMichael Haggerty <mhagger@alum.mit.edu>
Tue, 24 Apr 2012 22:45:14 +0000 (00:45 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 3 May 2012 20:15:35 +0000 (13:15 -0700)
commit989c0e5d02b1844b44e5ea2ff61a2cbd2f054a25
tree9d6ff905abc1f7b2979fe0f4f3b52df4ddccc0b1
parent93c603fcb7bfbe3d4bfb108463166b850de638f3
do_for_each_reflog(): use a strbuf to hold logfile name

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