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

[PATCH v2 0/3] tweaks to refs/debug.c

From
Han-Wen Nienhuys via GitGitGadget <gitgitgadget@gmail.com>
Date
Dec 22, 2021, 18:11 UTC
Message-ID
<pull.1163.v2.git.git.1640196714.gitgitgadget@gmail.com>
In-Reply-To
<pull.1163.git.git.1640090038.gitgitgadget@gmail.com>

these are two small commits that helped me while debugging reftable support for git.

Han-Wen Nienhuys (3):
  refs: pass gitdir to packed_ref_store_create
  refs: print error message in debug output
  refs: centralize initialization of the base ref_store.
 refs.c                |  6 ++++--
 refs/debug.c          |  6 ++++--
 refs/files-backend.c  | 10 +++-------
 refs/packed-backend.c | 11 +++++------
 refs/packed-backend.h |  2 +-
 refs/refs-internal.h  |  4 ++--
 6 files changed, 19 insertions(+), 20 deletions(-)
base-commit: 69a9c10c95e28df457e33b3c7400b16caf2e2962
Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-git-1163%2Fhanwen%2Fdebug-tweaks-v2
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-git-1163/hanwen/debug-tweaks-v2
Pull-Request: https://github.com/git/git/pull/1163
Range-diff vs v1:
 -:  ----------- > 1:  bfebb5f08fe refs: pass gitdir to packed_ref_store_create
 1:  177d84f8563 = 2:  b189f8661e2 refs: print error message in debug output
 2:  75e5392032d < -:  ----------- refs: set the repo in debug_ref_store.base
 -:  ----------- > 3:  eea294b688f refs: centralize initialization of the base ref_store.
-- 
gitgitgadget
Previous: Han-Wen NienhuysNext: Han-Wen Nienhuys via GitGitGadget
Message 6 of 10 in “tweaks to refs/debug.c”
  1. 0/2 tweaks to refs/debug.cHan-Wen Nienhuys via GitGitGadget, Dec 21, 2021
  2. 1/2 refs: print error message in debug outputHan-Wen Nienhuys via GitGitGadget, Dec 21, 2021
  3. 2/2 refs: set the repo in debug_ref_store.baseHan-Wen Nienhuys via GitGitGadget, Dec 21, 2021
  4. Junio C HamanoDec 22, 2021
  5. Han-Wen NienhuysDec 22, 2021
  6. 0/3 tweaks to refs/debug.cHan-Wen Nienhuys via GitGitGadget, Dec 22, 2021
  7. 1/3 refs: pass gitdir to packed_ref_store_createHan-Wen Nienhuys via GitGitGadget, Dec 22, 2021
  8. 2/3 refs: print error message in debug outputHan-Wen Nienhuys via GitGitGadget, Dec 22, 2021
  9. 3/3 refs: centralize initialization of the base ref_store.Han-Wen Nienhuys via GitGitGadget, Dec 22, 2021
  10. Junio C HamanoDec 22, 2021

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.