summaryrefslogtreecommitdiff
path: root/Documentation/config/protocol.txt
diff options
context:
space:
mode:
authorLibravatar René Scharfe <l.s.r@web.de>2021-10-08 06:04:42 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-10-08 10:04:56 -0700
commitc90cfc225baaf64af311f7e2953267e4de636205 (patch)
tree8cf850790b14ef3266597bfd296212fa8bc2ebb2 /Documentation/config/protocol.txt
parentmergesort: use ranks stack (diff)
downloadtgif-c90cfc225baaf64af311f7e2953267e4de636205.tar.xz
test-mergesort: use repeatable random numbers
Use MINSTD to generate pseudo-random numbers consistently instead of using rand(3), whose output can vary from system to system, and reset its seed before filling in the test values. This gives repeatable results across versions and systems, which simplifies sharing and comparing of results between developers. Signed-off-by: René Scharfe <l.s.r@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/config/protocol.txt')
0 files changed, 0 insertions, 0 deletions