diff options
author | Jeff King <peff@peff.net> | 2015-09-24 17:08:09 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-10-05 11:08:05 -0700 |
commit | 6f687c21c07bfb83a63049640cba5fb82c174198 (patch) | |
tree | 676902427bac01c3d0a4b3e72d19f14421c72e25 /tree-walk.h | |
parent | color: add overflow checks for parsing colors (diff) | |
download | tgif-6f687c21c07bfb83a63049640cba5fb82c174198.tar.xz |
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 'tree-walk.h')
0 files changed, 0 insertions, 0 deletions