From: Michael Haggerty Date: Sat, 25 May 2013 09:08:00 +0000 (+0200) Subject: describe: make own copy of refname X-Git-Tag: v1.8.4-rc0~170^2~24 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/219a0f33cae0f164f4353b2171ecd4c08d5b7ced?hp=219a0f33cae0f164f4353b2171ecd4c08d5b7ced describe: make own copy of refname Do not retain a reference to the refname passed to the each_ref_fn callback get_name(), because there is no guarantee of the lifetimes of these names. Instead, make a local copy when needed. Signed-off-by: Michael Haggerty Signed-off-by: Junio C Hamano ---