git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH 0/3] Comment style fixes

From
Junio C Hamano <gitster@pobox.com>
Date
Jan 29, 2024, 20:28 UTC
Message-ID
<20240129202839.2234084-1-gitster@pobox.com>

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(-)
-- 
2.43.0-440-gb50a608ba2
Next: Junio C Hamano
Message 1 of 5 in “Comment style fixes”
  1. 0/3 Comment style fixesJunio C Hamano, Jan 29, 2024
  2. 1/3 builtin/worktree: comment style fixesJunio C Hamano, Jan 29, 2024
  3. 3/3 reftable/pq_test: comment style fixJunio C Hamano, Jan 29, 2024
  4. 2/3 merge-ort.c: comment style fixJunio C Hamano, Jan 29, 2024
  5. Patrick SteinhardtJan 30, 2024

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.