Make collapse_slashes() allocate memory for its result
commit7f748c7cb2317800dcdb311c3e75a086ae0d1600
authorMichael Haggerty <mhagger@alum.mit.edu>
Thu, 15 Sep 2011 21:10:28 +0000 (15 23:10 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 5 Oct 2011 20:45:30 +0000 (5 13:45 -0700)
treed8e66e18307b719c58c211c963bb9959d598415e
parent7e9d2fe96060957d90870d2fac9b85608423e277
Make collapse_slashes() allocate memory for its result

This will make upcoming changes a tiny bit easier.

Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/check-ref-format.c