From: Junio C Hamano Date: Tue, 11 May 2021 06:27:23 +0000 (+0900) Subject: Merge branch 'jk/pack-objects-negative-options-fix' X-Git-Tag: v2.32.0-rc0~22 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1af57f5d321aeb95dbdbe48bdb2b0e1e37528323;p=thirdparty%2Fgit.git Merge branch 'jk/pack-objects-negative-options-fix' Options to "git pack-objects" that take numeric values like --window and --depth should not accept negative values; the input validation has been tightened. * jk/pack-objects-negative-options-fix: pack-objects: clamp negative depth to 0 t5316: check behavior of pack-objects --depth=0 pack-objects: clamp negative window size to 0 t5300: check that we produced expected number of deltas t5300: modernize basic tests --- 1af57f5d321aeb95dbdbe48bdb2b0e1e37528323