diff options
author | Michael Haggerty <mhagger@alum.mit.edu> | 2013-05-25 11:08:23 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-06-02 15:28:47 -0700 |
commit | bf42772e38db8e758aa28a045e8cba88096a9fcc (patch) | |
tree | d6ba4088263ca0811ffbf1c9762afc4cb9023e52 /builtin/count-objects.c | |
parent | exclude_existing(): set existing_refs.strdup_strings (diff) | |
download | tgif-bf42772e38db8e758aa28a045e8cba88096a9fcc.tar.xz |
register_ref(): make a copy of the bad reference SHA-1
The lifetime of the sha1 parameter passed to an each_ref_fn callback
is not guaranteed, so make a copy for later use.
Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/count-objects.c')
0 files changed, 0 insertions, 0 deletions