]> git.ipfire.org Git - thirdparty/git.git/commit
CodingGuidelines: spaces around C operators
authorJunio C Hamano <gitster@pobox.com>
Tue, 20 Aug 2024 20:36:11 +0000 (13:36 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 20 Aug 2024 21:10:10 +0000 (14:10 -0700)
commit44db6f75cce574a0e410df5be61d40f28ec16f0a
tree1f9ba313b922c7e211323fa9d6190df3488f630e
parentfa3b914457773d5a0bb02b382862dafd1c4c357e
CodingGuidelines: spaces around C operators

As we have operated with "write like how your surrounding code is
written" for too long, after a huge code drop from another project,
we'll end up being inconsistent before such an imported code is
cleaned up.  We have many uses of cast operator with a space before
its operand, mostly in the reftable code.

Spell the convention out before it spreads to other places.

Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/CodingGuidelines