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

[PATCH 3/3] reftable/pq_test: comment style fix

From
Junio C Hamano <gitster@pobox.com>
Date
Jan 29, 2024, 20:28 UTC
Message-ID
<20240129202839.2234084-4-gitster@pobox.com>
In-Reply-To
<20240129202839.2234084-1-gitster@pobox.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
---
 reftable/pq_test.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/reftable/pq_test.c b/reftable/pq_test.c
index 011b5c7502..c202eff848 100644
--- a/reftable/pq_test.c
+++ b/reftable/pq_test.c
@@ -60,7 +60,7 @@ static void test_pq(void)
 		if (last) {
 			EXPECT(strcmp(last, rec->u.ref.refname) < 0);
 		}
-		// this is names[i], so don't dealloc.
+		/* this is names[i], so don't dealloc. */
 		last = rec->u.ref.refname;
 		rec->u.ref.refname = NULL;
 		reftable_record_release(rec);
-- 
2.43.0-440-gb50a608ba2
Previous: Junio C HamanoNext: Junio C Hamano
Message 3 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.