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

Re: [PATCH 11/10] cocci: remove obsolete the_repository rules

From
Patrick Steinhardt <ps@pks.im>
Date
Jan 16, 2026, 10:02 UTC
Message-ID
<aWoMqfTmrOU8UMhm@pks.im>
In-Reply-To
<cd6e8f5a-baaa-4c4d-9d2d-576d4b6a9a5e@web.de>
On Thu, Jan 15, 2026 at 11:01:25PM +0100, René Scharfe wrote:
Show 8 quoted lines
> 035c7de9e9e (cocci: apply the "revision.h" part of
> "the_repository.pending", 2023-03-28) removed the last of the repo-less
> functions and macros mentioned in the_repository.cocci at the time.  No
> stragglers appeared since then.  Remove the applied rules now that they
> have outlived their usefulness.
> 
> Also add a reminder to eventually remove the just added rules for
> tree.h.

All of the removals look good to me, and I verified that we indeed don't have these functions anymore. Thanks!

Patrick
Previous: René ScharfeNext: Junio C Hamano
Message 24 of 25 in “tree: stop using the_repository”
  1. 00/10 tree: stop using the_repositoryRené Scharfe, Jan 9, 2026
  2. 03/10 add-interactive: use repo_parse_tree_indirect()René Scharfe, Jan 9, 2026
  3. 04/10 bloom: use repo_parse_tree()René Scharfe, Jan 9, 2026
  4. 08/10 tree: use repo_parse_tree()René Scharfe, Jan 9, 2026
  5. Patrick SteinhardtJan 12, 2026
  6. 09/10 tree: stop using the_repositoryRené Scharfe, Jan 9, 2026
  7. Patrick SteinhardtJan 12, 2026
  8. Junio C HamanoJan 12, 2026
  9. Patrick SteinhardtJan 12, 2026
  10. Junio C HamanoJan 12, 2026
  11. Junio C HamanoJan 12, 2026
  12. Patrick SteinhardtJan 12, 2026
  13. René ScharfeJan 12, 2026
  14. Patrick SteinhardtJan 13, 2026
  15. 10/10 cocci: convert parse_tree functions to repo_ variantsRené Scharfe, Jan 9, 2026
  16. 02/10 tree: add repo_parse_tree*()René Scharfe, Jan 9, 2026
  17. 01/10 environment: move access to core.maxTreeDepth into repo settingsRené Scharfe, Jan 9, 2026
  18. Patrick SteinhardtJan 12, 2026
  19. René ScharfeJan 12, 2026
  20. 07/10 path-walk: use repo_parse_tree_gently()René Scharfe, Jan 9, 2026
  21. 05/10 delta-islands: use repo_parse_tree()René Scharfe, Jan 9, 2026
  22. 06/10 pack-bitmap-write: use repo_parse_tree()René Scharfe, Jan 9, 2026
  23. 11/10 cocci: remove obsolete the_repository rulesRené Scharfe, Jan 15, 2026
  24. Patrick SteinhardtJan 16, 2026
  25. Junio C HamanoJan 16, 2026

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.