summaryrefslogtreecommitdiff
path: root/builtin/var.c
diff options
context:
space:
mode:
authorLibravatar Michael Haggerty <mhagger@alum.mit.edu>2013-05-25 11:08:01 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-05-28 09:25:00 -0700
commitb87dbcc89940edbf92cbab381001542a7cac3627 (patch)
tree43132c65d7c9f5908d90b55e51f08e188ecf91ee /builtin/var.c
parentdescribe: make own copy of refname (diff)
downloadtgif-b87dbcc89940edbf92cbab381001542a7cac3627.tar.xz
fetch: make own copies of refnames
Do not retain references to refnames passed to the each_ref_fn callback add_existing(), because their lifetime is not guaranteed. Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/var.c')
0 files changed, 0 insertions, 0 deletions