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

[PATCH 1/4] midx.c: fix whitespace typo

From
Taylor Blau <me@ttaylorr.com>
Date
Oct 12, 2022, 22:01 UTC
Message-ID
<6e92b7707dbe6ec993cf4a36180f5c118e6011d7.1665612094.git.me@ttaylorr.com>
In-Reply-To
<cover.1665612094.git.me@ttaylorr.com>

This was unintentionally introduced via 893b563505 (midx: inline nth_midxed_pack_entry(), 2021-09-11) where "struct repository *r" became "struct repository * r".

The latter does not adhere to our usual style conventions, so fix that up to look more like our usual declarations.

Signed-off-by: Taylor Blau <me@ttaylorr.com>
---
 midx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/midx.c b/midx.c
index 3a8dcfe98e..a9df753220 100644
--- a/midx.c
+++ b/midx.c
@@ -278,7 +278,7 @@ uint32_t nth_midxed_pack_int_id(struct multi_pack_index *m, uint32_t pos)
 			(off_t)pos * MIDX_CHUNK_OFFSET_WIDTH);
 }
 
-int fill_midx_entry(struct repository * r,
+int fill_midx_entry(struct repository *r,
 		    const struct object_id *oid,
 		    struct pack_entry *e,
 		    struct multi_pack_index *m)
-- 
2.38.0.16.g393fd4c6db
Previous: Taylor BlauNext: Taylor Blau
Message 2 of 7 in “midx: trace2 regions and grab-bag patches”
  1. 0/4 midx: trace2 regions and grab-bag patchesTaylor Blau, Oct 12, 2022
  2. 1/4 midx.c: fix whitespace typoTaylor Blau, Oct 12, 2022
  3. 2/4 midx.c: consider annotated tags during bitmap selectionTaylor Blau, Oct 12, 2022
  4. 3/4 midx.c: instrument MIDX and bitmap generation with trace2 regionsTaylor Blau, Oct 12, 2022
  5. 4/4 pack-bitmap-write.c: instrument number of reused bitmapsTaylor Blau, Oct 12, 2022
  6. Derrick StoleeOct 13, 2022
  7. Junio C HamanoOct 13, 2022

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.