]> git.ipfire.org Git - thirdparty/git.git/commit
rebase: avoid using the comma operator unnecessarily
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Thu, 27 Mar 2025 11:52:55 +0000 (11:52 +0000)
committerJunio C Hamano <gitster@pobox.com>
Sat, 29 Mar 2025 00:38:08 +0000 (17:38 -0700)
commit38c696d66b9d3a8f4f3363cc4254dd130723f396
treef9a19bcbc39144a3757332c6a311d8bb3f4260c5
parentf569065fc4ea047e1b2b0d50d2a59d9987a050b3
rebase: avoid using the comma operator unnecessarily

The comma operator is a somewhat obscure C feature that is often used by
mistake and can even cause unintentional code flow. Better use a
semicolon instead.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Acked-by: Phillip Wood <phillip.wood@dunelm.org.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/rebase.c