Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Pitre <nico@cam.org>2008-06-25 02:58:06 +0400
committerJunio C Hamano <gitster@pobox.com>2008-06-25 04:03:44 +0400
commit27d69a465d14b516d6a1ba287edc83606f23a5a5 (patch)
tree2f5f3ac06d37831d826078f7e1c74e6526baeaba /templates
parent29b0d01912cdf291ad2e9f6a4f143ee9e3c01ef9 (diff)
refactor pack structure allocation
New pack structures are currently allocated in 2 different places and all members have to be initialized explicitly. This is prone to errors leading to segmentation faults as found by Teemu Likonen. Let's have a common place where this structure is allocated, and have all members explicitly initialized to zero. Signed-off-by: Nicolas Pitre <nico@cam.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'templates')
0 files changed, 0 insertions, 0 deletions