diff options
author | Michael Haggerty <mhagger@alum.mit.edu> | 2013-05-25 11:08:00 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-05-28 09:25:00 -0700 |
commit | 219a0f33cae0f164f4353b2171ecd4c08d5b7ced (patch) | |
tree | 60eeeb45670c12f12a70467ed62917b558c316e2 /utf8.h | |
parent | 5e49f30c85ecacec98631462fa73f1148a01637c (diff) | |
download | git-219a0f33cae0f164f4353b2171ecd4c08d5b7ced.tar.gz |
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 <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'utf8.h')
0 files changed, 0 insertions, 0 deletions