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

[PATCH 0/3] setup: fix reinit of repos with different formats

From
Patrick Steinhardt <ps@pks.im>
Date
Jan 30, 2025, 16:24 UTC
Message-ID
<20250130-b4-pks-reinit-default-ref-format-v1-0-d2769ca01207@pks.im>
Hi,

this issue with the reinitialization of the ref format was recently discovered in our CI systems at GitLab, where caches contained repos with one ref format but we tried to reinit them with a different ref format. But turns out that the same issue also exists for the object format, so this patch series fixes both issues.

Thanks!
Patrick
---
Patrick Steinhardt (3):
      t0001: remove duplicate test
      setup: fix reinit of repos with incompatible GIT_DEFAULT_REF_FORMAT
      setup: fix reinit of repos with incompatible GIT_DEFAULT_HASH
 setup.c         |  8 ++++++--
 t/t0001-init.sh | 30 +++++++++++++++++++++---------
 2 files changed, 27 insertions(+), 11 deletions(-)

--- base-commit: 3b0d05c4a79d0e441283680a864529b02dca5f08 change-id: 20250130-b4-pks-reinit-default-ref-format-96a5e2104421

Next: Patrick Steinhardt
Message 1 of 11 in “setup: fix reinit of repos with different formats”
  1. 0/3 setup: fix reinit of repos with different formatsPatrick Steinhardt, Jan 30, 2025
  2. 1/3 t0001: remove duplicate testPatrick Steinhardt, Jan 30, 2025
  3. 3/3 setup: fix reinit of repos with incompatible GIT_DEFAULT_HASHPatrick Steinhardt, Jan 30, 2025
  4. Junio C HamanoJan 31, 2025
  5. 2/3 setup: fix reinit of repos with incompatible GIT_DEFAULT_REF_FORMATPatrick Steinhardt, Jan 30, 2025
  6. Junio C HamanoJan 30, 2025
  7. Junio C HamanoJan 31, 2025
  8. Patrick SteinhardtFeb 3, 2025
  9. Junio C HamanoFeb 3, 2025
  10. Patrick SteinhardtFeb 3, 2025
  11. brian m. carlsonJan 30, 2025

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.