aboutsummaryrefslogtreecommitdiffstats
path: root/builtin/commit.c
diff options
context:
space:
mode:
authorKarthik Nayak <karthik.188@gmail.com>2024-07-23 10:21:08 +0200
committerJunio C Hamano <gitster@pobox.com>2024-07-23 09:56:50 -0700
commit1993918b9fe13cde1a2eaaba07cb6d0c96134373 (patch)
tree9c4a6abdab51930e67756d82b4ab961b7b48750e /builtin/commit.c
parentclang-format: avoid spacing around bitfield colon (diff)
downloadgit-1993918b9fe13cde1a2eaaba07cb6d0c96134373.tar.gz
git-1993918b9fe13cde1a2eaaba07cb6d0c96134373.zip
clang-format: formalize some of the spacing rules
There are some spacing rules that we follow in the project and it makes sense to formalize them: * Ensure there is no space inserted after the logical not '!' operator. * Ensure there is no space before the case statement's colon. * Ensure there is no space before the first bracket '[' of an array. * Ensure there is no space in empty blocks. Signed-off-by: Karthik Nayak <karthik.188@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions