]> git.ipfire.org Git - thirdparty/git.git/commit
revision: use strtol_i() for exclude_parent
authorRené Scharfe <l.s.r@web.de>
Sat, 1 Oct 2022 10:25:36 +0000 (12:25 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sat, 1 Oct 2022 22:58:33 +0000 (15:58 -0700)
commit793c21182e34f109b4f438944b4272fb50862ad5
tree2754ee33896694e55fde9311932786e30a9c1dec
parenta0feb8611d4c0b2b5d954efe4e98207f62223436
revision: use strtol_i() for exclude_parent

Avoid silent overflow of the int exclude_parent by using the appropriate
function, strtol_i(), to parse its value.

Signed-off-by: René Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
revision.c