use alloc_ref rather than hand-allocating "struct ref"
authorJeff King <redacted>
Thu, 24 Sep 2015 21:08:09 +0000 (17:08 -0400)
committerJunio C Hamano <redacted>
Mon, 5 Oct 2015 18:08:05 +0000 (11:08 -0700)
commit6f687c21c07bfb83a63049640cba5fb82c174198
tree676902427bac01c3d0a4b3e72d19f14421c72e25
parentcbc8feeaf97db39ff7220c4d1b03e0c3fdd2401c
use alloc_ref rather than hand-allocating "struct ref"

This saves us some manual computation, and eliminates a call
to strcpy.

Signed-off-by: Jeff King <redacted>
Signed-off-by: Junio C Hamano <redacted>
builtin/fetch.c
remote-curl.c
git clone https://git.99rst.org/PROJECT