summaryrefslogtreecommitdiff
path: root/merge-blobs.h
diff options
context:
space:
mode:
authorLibravatar Michael Haggerty <mhagger@alum.mit.edu>2013-05-25 11:08:02 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2013-05-28 09:25:00 -0700
commitdf835d3a0c013b9ef912172663c7c58dad87164d (patch)
treec9b781db5c65aac0f3ecda6e10667e3e807577d8 /merge-blobs.h
parentfetch: make own copies of refnames (diff)
downloadtgif-df835d3a0c013b9ef912172663c7c58dad87164d.tar.xz
add_rev_cmdline(): make a copy of the name argument
Instead of assuming that the memory pointed to by the name argument will live forever, make a local copy of it before storing it in the ref_cmdline_info. Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'merge-blobs.h')
0 files changed, 0 insertions, 0 deletions