diff options
author | Jeff King <peff@peff.net> | 2015-09-25 00:08:09 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-10-05 21:08:05 +0300 |
commit | 6f687c21c07bfb83a63049640cba5fb82c174198 (patch) | |
tree | 676902427bac01c3d0a4b3e72d19f14421c72e25 /refs.c | |
parent | cbc8feeaf97db39ff7220c4d1b03e0c3fdd2401c (diff) |
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 <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'refs.c')
0 files changed, 0 insertions, 0 deletions