]>
git.99rst.org Git - git.git/commit
clang-format: align consecutive macro definitions
We generally align consecutive macro definitions for better readability:
#define OUTPUT_ANNOTATE_COMPAT (1U<<0)
#define OUTPUT_LONG_OBJECT_NAME (1U<<1)
#define OUTPUT_RAW_TIMESTAMP (1U<<2)
#define OUTPUT_PORCELAIN (1U<<3)
over
#define OUTPUT_ANNOTATE_COMPAT (1U<<0)
#define OUTPUT_LONG_OBJECT_NAME (1U<<1)
#define OUTPUT_RAW_TIMESTAMP (1U<<2)
#define OUTPUT_PORCELAIN (1U<<3)
So let's add the rule in clang-format to follow this.
Signed-off-by: Karthik Nayak <redacted>
Signed-off-by: Taylor Blau <redacted>