summaryrefslogtreecommitdiff
path: root/Documentation/git-add.txt
diff options
context:
space:
mode:
authorSergey Vlasov <vsu@altlinux.ru>2010-07-18 12:17:49 (GMT)
committerEric Wong <normalperson@yhbt.net>2010-07-19 06:31:04 (GMT)
commit8ac3a66702c43386eb580b7a1a8b1a31cd675327 (patch)
tree1338314e81762a0de30a65c39e7cb32777f7d33c /Documentation/git-add.txt
parent24e7a5be373c95f977bab4f0f41f736bb1d25075 (diff)
downloadgit-8ac3a66702c43386eb580b7a1a8b1a31cd675327.zip
git-8ac3a66702c43386eb580b7a1a8b1a31cd675327.tar.gz
git-8ac3a66702c43386eb580b7a1a8b1a31cd675327.tar.bz2
git-svn: write memoized data explicitly to avoid Storable bug
Apparently using the Storable module during global destruction is unsafe - there is a bug which can cause segmentation faults: http://rt.cpan.org/Public/Bug/Display.html?id=36087 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=482355 The persistent memoization support introduced in commit 8bff7c538 relied on global destruction to write cached data, which was leading to segfaults in some Perl configurations. Calling Memoize::unmemoize in the END block forces the cache writeout to be performed earlier, thus avoiding the bug. Signed-off-by: Sergey Vlasov <vsu@altlinux.ru> Acked-by: Eric Wong <normalperson@yhbt.net>
Diffstat (limited to 'Documentation/git-add.txt')
0 files changed, 0 insertions, 0 deletions