diff options
author | Michael Haggerty <mhagger@alum.mit.edu> | 2013-05-25 11:08:02 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-05-28 09:25:00 -0700 |
commit | df835d3a0c013b9ef912172663c7c58dad87164d (patch) | |
tree | c9b781db5c65aac0f3ecda6e10667e3e807577d8 /tag.c | |
parent | fetch: make own copies of refnames (diff) | |
download | tgif-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 'tag.c')
0 files changed, 0 insertions, 0 deletions