Thread (1 message) 1 message, 1 author, 2022-08-10

Re: [PATCH v3 2/3] t0021: implementation the rot13-filter.pl script in C

From: Junio C Hamano <hidden>
Date: 2022-08-10 18:37:48

Johannes Schindelin [off-list ref] writes:
I would like to encourage you to think of ways how this project could
avoid the cost (mental space, reviewer time, back and forth between
contributor and reviewer) of such trivial code formatting issues.
I do not need your encouragement.  I am sure the submitter could
have run clang-format or checkpatch.pl or whatever and noticed the
issue.  Small style diversions in submitted patches are distracting
enough to prevent me from concentrating on and noticing problems in
the more important aspects like correctness and leakiness.  That is
why people get formatting issues pointed out and CodingGuidelines
talks about styles.

Checkpatch is OK, but IIRC, you cannot ask to check "only the code I
changed in this patch" to clang-format, which may be the show
stopper.  Otherwise, I would quite welcome an automated "pre-flight"
automation, like "make" target, that submitters can use and GGG can
help them use.

Thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help