summaryrefslogtreecommitdiff
path: root/Documentation/git-clone.txt
diff options
context:
space:
mode:
authorLibravatar Stefan Sperling <stsp@elego.de>2007-09-24 12:57:40 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2007-09-24 23:00:52 -0700
commit5d17d765ca754f3e9d87110394a0a397ea7ac2cf (patch)
tree6a56f0617a7bc6edef15769b006101ced38f71bf /Documentation/git-clone.txt
parentMerge branch 'maint' of git://linux-nfs.org/~bfields/git into maint (diff)
downloadtgif-5d17d765ca754f3e9d87110394a0a397ea7ac2cf.tar.xz
Fix pool handling in git-svnimport to avoid memory leaks.
- Create an explicit one-and-only root pool. - Closely follow examples in SVN::Core man page. Before calling a subversion function, create a subpool of our root pool and make it the new default pool. - Create a subpool for looping over svn revisions and clear this subpool (i.e. it mark for reuse, don't decallocate it) at the start of the loop instead of allocating new memory with each iteration. See http://marc.info/?l=git&m=118554191513822&w=2 for a detailed explanation of the issue. Signed-off-by: Stefan Sperling <stsp@elego.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-clone.txt')
0 files changed, 0 insertions, 0 deletions