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

ab/remove-implicit-use-of-the-repository (was Re: What's cooking in git.git (Mar 2023, #05; Wed, 22))

From
Glen Choo <chooglen@google.com>
Date
Mar 23, 2023, 17:12 UTC
Message-ID
<kl6l355ve6iv.fsf@chooglen-macbookpro.roam.corp.google.com>
In-Reply-To
<xmqqcz50bau4.fsf@gitster.g>
Junio C Hamano <gitster@pobox.com> writes:
Show 23 quoted lines
> * ab/remove-implicit-use-of-the-repository (2023-03-17) 17 commits
>  - libs: use "struct repository *" argument, not "the_repository"
>  - post-cocci: adjust comments for recent repo_* migration
>  - cocci: apply the "revision.h" part of "the_repository.pending"
>  - cocci: apply the "rerere.h" part of "the_repository.pending"
>  - cocci: apply the "refs.h" part of "the_repository.pending"
>  - cocci: apply the "promisor-remote.h" part of "the_repository.pending"
>  - cocci: apply the "packfile.h" part of "the_repository.pending"
>  - cocci: apply the "pretty.h" part of "the_repository.pending"
>  - cocci: apply the "object-store.h" part of "the_repository.pending"
>  - cocci: apply the "diff.h" part of "the_repository.pending"
>  - cocci: apply the "commit.h" part of "the_repository.pending"
>  - cocci: apply the "commit-reach.h" part of "the_repository.pending"
>  - cocci: apply the "cache.h" part of "the_repository.pending"
>  - cocci: add missing "the_repository" macros to "pending"
>  - cocci: sort "the_repository" rules by header
>  - cocci: fix incorrect & verbose "the_repository" rules
>  - cocci: remove dead rule from "the_repository.pending.cocci"
>
>  Code clean-up around the use of the_repository.
>
>  Needs review.
>  source: <cover-00.17-00000000000-20230317T152724Z-avarab@gmail.com>
My opinion (which I think is shared by Elijah [1]) is that
a) the code changes look great, and are a very welcome cleanup
b) I don't know how to review cocci changes, so I'm not 100% confident
   in giving Reviewed-by
[1] https://lore.kernel.org/git/CABPp-BEdpTO=DRjLq_p+dgX68M0HUVB--3yQR4Sdp8rnFYeyfA@mail.gmail.com/
Previous: Junio C Hamano
Message 2 of 2 in “What's cooking in git.git (Mar 2023, #05; Wed, 22)”
  1. Junio C HamanoMar 22, 2023
  2. ab/remove-implicit-use-of-the-repository (was Re: What's cooking in git.git (Mar 2023, #05; Wed, 22))Glen Choo, Mar 23, 2023

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.