diff options
| author | Michael Haggerty <mhagger@alum.mit.edu> | 2013-05-25 11:08:17 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2013-06-02 15:28:47 -0700 |
| commit | f83918edcb6fbcd1c5d8378c11e57edcc47bd232 (patch) | |
| tree | deba23698bc8bfcc3498d6944676a971a0f176c1 /contrib/examples/git-svnimport.perl | |
| parent | 5b87d8d3f53c1dfb54027123af612488abc85006 (diff) | |
add_existing(): do not retain a reference to sha1
Its lifetime is not guaranteed, so make a copy. Free the memory when
the string_list is cleared.
Signed-off-by: Michael Haggerty <mhagger@alum.mit.edu>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/examples/git-svnimport.perl')
0 files changed, 0 insertions, 0 deletions
