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

(RFH Windows breakage) Re: [PATCH 0/3] Remove is_bare_repository_cfg global state

From
Junio C Hamano <gitster@pobox.com>
Date
Dec 11, 2024, 23:09 UTC
Message-ID
<xmqqzfl1hl52.fsf@gitster.g>
In-Reply-To
<pull.1826.git.git.1730926082.gitgitgadget@gmail.com>
"John Cai via GitGitGadget" <gitgitgadget@gmail.com> writes:
Show 10 quoted lines
> This patch series removes the global state introduced by the
> is_bare_repository_cfg variable by moving it into the repository struct.
> Most of the refactor is done by patch 1. Patch 2 initializes the member in
> places that left it unInitialized, while patch 3 adds a safety measure by
> BUG()ing when the variable has not been properly initialized.
>
> John Cai (3):
>   git: remove is_bare_repository_cfg global variable
>   setup: initialize is_bare_cfg
>   repository: BUG when is_bare_cfg is not initialized

We've been seeing a job "win test (5)" fail on 'seen' for a while, and I happened to have rebuilt 'seen' without this topic (first by accident) and the job started passing.

The topic coming from GGG, I'd assume that it byitself will pass the tests (including Windows ones), so I suspect it is some interaction with other topics in 'seen'.

As I do not have Windows environment to test and dig into any problem, often pushing 'seen' with suspect topic(s) removed is the only way for me to isolate which topic might be causing a problem, and after doing so, I'll have to leave it up to the author of the topic to dig further with help from others.

(failing) https://github.com/git/git/actions/runs/12279217687/job/34263221584 (passing) https://github.com/git/git/actions/runs/12286174648/job/34286039276

The difference between these is that the former (failing) one has this topic with three patches merged at the tip of 'seen', and the latter (passing) one is the result of tentatively dropping this topic from the CI run.

Thanks.
Previous: Junio C Hamano
Message 11 of 11 in “Remove is_bare_repository_cfg global state”
  1. 0/3 Remove is_bare_repository_cfg global stateJohn Cai via GitGitGadget, Nov 6, 2024
  2. 1/3 git: remove is_bare_repository_cfg global variableJohn Cai via GitGitGadget, Nov 6, 2024
  3. Junio C HamanoNov 7, 2024
  4. shejialuoNov 7, 2024
  5. Junio C HamanoNov 8, 2024
  6. shejialuoNov 16, 2024
  7. 2/3 setup: initialize is_bare_cfgJohn Cai via GitGitGadget, Nov 6, 2024
  8. Junio C HamanoNov 7, 2024
  9. 3/3 repository: BUG when is_bare_cfg is not initializedJohn Cai via GitGitGadget, Nov 6, 2024
  10. Junio C HamanoNov 26, 2024
  11. (RFH Windows breakage) Re: [PATCH 0/3] Remove is_bare_repository_cfg global stateJunio C Hamano, Dec 11, 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.