]> git.ipfire.org Git - thirdparty/git.git/commit
diff: emit_line_ws_markup() if/else style fix
authorJunio C Hamano <gitster@pobox.com>
Wed, 12 Nov 2025 22:02:48 +0000 (14:02 -0800)
committerJunio C Hamano <gitster@pobox.com>
Wed, 12 Nov 2025 22:04:04 +0000 (14:04 -0800)
commitf83d1afafb8b772397aa3854184c42f7810fa0df
tree19f42faee9661072d0eae5a0459bc728621018da
parent8d4725e48ef29bd857e21e689411878b6eb4df92
diff: emit_line_ws_markup() if/else style fix

Apply the simple rule: if you need {} in one arm of the if/else
if/else... cascade, have {} in all of them.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
diff.c