From: Michael Haggerty Date: Sat, 25 May 2013 09:08:22 +0000 (+0200) Subject: exclude_existing(): set existing_refs.strdup_strings X-Git-Tag: v1.8.4-rc0~170^2~2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/66ce0366285f73c340f04a21b3d8be898d7bf5a7?ds=inline;hp=66ce0366285f73c340f04a21b3d8be898d7bf5a7 exclude_existing(): set existing_refs.strdup_strings The each_ref_fn add_existing() adds refnames to the existing_refs list. But the lifetimes of these refnames is not guaranteed by the refs API, so configure the string_list to make copies as it adds them. Signed-off-by: Michael Haggerty Signed-off-by: Junio C Hamano ---