summaryrefslogtreecommitdiff
path: root/builtin/count-objects.c
diff options
context:
space:
mode:
authorLibravatar Michael Haggerty <mhagger@alum.mit.edu>2013-05-25 11:08:23 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-06-02 15:28:47 -0700
commitbf42772e38db8e758aa28a045e8cba88096a9fcc (patch)
treed6ba4088263ca0811ffbf1c9762afc4cb9023e52 /builtin/count-objects.c
parentexclude_existing(): set existing_refs.strdup_strings (diff)
downloadtgif-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