git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* [PATCH 0/2] pull: release handles to pack files before potentially gc'ing
@ 2021-09-08  8:29 Johannes Schindelin via GitGitGadget
  2021-09-08  8:29 ` [PATCH 1/2] commit-graph: when closing the graph, also release the slab Johannes Schindelin via GitGitGadget
  2021-09-08  8:29 ` [PATCH 2/2] pull: release packs before fetching Johannes Schindelin via GitGitGadget
  0 siblings, 2 replies; 5+ messages in thread
From: Johannes Schindelin via GitGitGadget @ 2021-09-08  8:29 UTC (permalink / raw)
  To: git; +Cc: Derrick Stolee, Johannes Schindelin

It was reported in Git for Windows
[https://github.com/git-for-windows/git/issues/3336] that there are still
some code paths where .pack files are still open when a garbage collection
is triggered. This time, the affected command is git pull.

The fix is relatively trivial but uncovers a bug in the commit-graph code,
which we have to fix first.

Johannes Schindelin (2):
  commit-graph: when closing the graph, also release the slab
  pull: release packs before fetching

 builtin/pull.c | 2 ++
 commit-graph.c | 1 +
 2 files changed, 3 insertions(+)


base-commit: 225bc32a989d7a22fa6addafd4ce7dcd04675dbf
Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-1032%2Fdscho%2Frelease-packs-before-fetching-v1
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-1032/dscho/release-packs-before-fetching-v1
Pull-Request: https://github.com/gitgitgadget/git/pull/1032
-- 
gitgitgadget

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-09-09 11:21 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-08  8:29 [PATCH 0/2] pull: release handles to pack files before potentially gc'ing Johannes Schindelin via GitGitGadget
2021-09-08  8:29 ` [PATCH 1/2] commit-graph: when closing the graph, also release the slab Johannes Schindelin via GitGitGadget
2021-09-08  8:29 ` [PATCH 2/2] pull: release packs before fetching Johannes Schindelin via GitGitGadget
2021-09-08 19:16   ` Junio C Hamano
2021-09-09 11:20     ` Johannes Schindelin

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).