]> git.ipfire.org Git - thirdparty/git.git/commit - packfile.h
Merge branch 'ds/close-object-store'
authorJunio C Hamano <gitster@pobox.com>
Tue, 9 Jul 2019 22:25:37 +0000 (15:25 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 9 Jul 2019 22:25:37 +0000 (15:25 -0700)
commit5cb7c73589059b557f0d690ed6bcfde46ef2d234
tree1aa18e271907b69b4d49494231f8acc6f950ff4d
parente1168940ce11878261ece4602a7d8b8ee9a8c77e
parent2d511cfc0bfe1d2b98ba8b272ddd9ba83e84e5f8
Merge branch 'ds/close-object-store'

The commit-graph file is now part of the "files that the runtime
may keep open file descriptors on, all of which would need to be
closed when done with the object store", and the file descriptor to
an existing commit-graph file now is closed before "gc" finalizes a
new instance to replace it.

* ds/close-object-store:
  packfile: rename close_all_packs to close_object_store
  packfile: close commit-graph in close_all_packs
  commit-graph: use raw_object_store when closing
12 files changed:
builtin/am.c
builtin/clone.c
builtin/fetch.c
builtin/gc.c
builtin/merge.c
builtin/rebase.c
builtin/receive-pack.c
builtin/repack.c
commit-graph.c
packfile.c
packfile.h
upload-pack.c