diff options
author | Karthik Nayak <karthik.188@gmail.com> | 2024-07-23 10:21:07 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-07-23 09:56:49 -0700 |
commit | 5e7eee46a3a57f13a1bd080fef777a0e5aed4cb9 (patch) | |
tree | 0439faf26b850f4178f08b0cbd33665741e3c7aa /builtin/commit.c | |
parent | e3ea432528dc5bfcdff89c1b6afeaa6d423fd4ee (diff) |
clang-format: avoid spacing around bitfield colon
The spacing around colons is currently not standardized and as such we
have the following practices in our code base:
- Spacing around the colon `int bf : 1`: 146 instances
- No spacing around the colon `int bf:1`: 148 instances
- Spacing before the colon `int bf :1`: 6 instances
- Spacing after the colon `int bf: 1`: 12 instances
Let's formalize this by picking the most followed pattern and add the
corresponding style to '.clang-format'.
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