mbox series

[0/3] Comment style fixes

Message ID 20240129202839.2234084-1-gitster@pobox.com (mailing list archive)
Headers show
Series Comment style fixes | expand

Message

Junio C Hamano Jan. 29, 2024, 8:28 p.m. UTC
Among comments in the traditional /* single liner */ ones, our
reviews seem to have missed a few // comments.  While they are not
illegal per-se, they look out of place mixed with the /* ... */
style comments, which is the prevailing style used in this project.

Fix those small number of style violations in our own code; files
with borrowed code that have // comments as the prevalent style are
left untouched.

Junio C Hamano (3):
  builtin/worktree: comment style fixes
  merge-ort.c: comment style fix
  reftable/pq_test: comment style fix

 builtin/worktree.c | 10 +++++-----
 merge-ort.c        |  2 +-
 reftable/pq_test.c |  2 +-
 3 files changed, 7 insertions(+), 7 deletions(-)

Comments

Patrick Steinhardt Jan. 30, 2024, 6:10 a.m. UTC | #1
On Mon, Jan 29, 2024 at 12:28:36PM -0800, Junio C Hamano wrote:
> Among comments in the traditional /* single liner */ ones, our
> reviews seem to have missed a few // comments.  While they are not
> illegal per-se, they look out of place mixed with the /* ... */
> style comments, which is the prevailing style used in this project.
> 
> Fix those small number of style violations in our own code; files
> with borrowed code that have // comments as the prevalent style are
> left untouched.

These changes look obviously good to me, thanks!

Patrick