]> git.ipfire.org Git - thirdparty/git.git/commit
column: guard against negative padding
authorKristoffer Haugsbakk <code@khaugsbakk.name>
Tue, 13 Feb 2024 16:01:21 +0000 (17:01 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 13 Feb 2024 18:18:57 +0000 (10:18 -0800)
commit76fb807faacc38661ddb1c561ed80930699146ec
treea42a1ede9c9707aebb240b09f02e7cc7badf10e4
parentf2d31c69ce38e4515d5dfac34c69423c833b85f9
column: guard against negative padding

Make sure that client code can’t pass in a negative padding by accident.

Suggested-by: Rubén Justo <rjusto@gmail.com>
Signed-off-by: Kristoffer Haugsbakk <code@khaugsbakk.name>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
column.c