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 /git-gui/lib/choose_rev.tcl | |
parent | remote-hg: fix order of configuration comments (diff) | |
download | tgif-219a0f33cae0f164f4353b2171ecd4c08d5b7ced.tar.xz |
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 'git-gui/lib/choose_rev.tcl')
0 files changed, 0 insertions, 0 deletions