summaryrefslogtreecommitdiff
path: root/packfile.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2019-07-09 22:25:37 (GMT)
committerJunio C Hamano <gitster@pobox.com>2019-07-09 22:25:37 (GMT)
commit5cb7c73589059b557f0d690ed6bcfde46ef2d234 (patch)
tree1aa18e271907b69b4d49494231f8acc6f950ff4d /packfile.h
parente1168940ce11878261ece4602a7d8b8ee9a8c77e (diff)
parent2d511cfc0bfe1d2b98ba8b272ddd9ba83e84e5f8 (diff)
downloadgit-5cb7c73589059b557f0d690ed6bcfde46ef2d234.zip
git-5cb7c73589059b557f0d690ed6bcfde46ef2d234.tar.gz
git-5cb7c73589059b557f0d690ed6bcfde46ef2d234.tar.bz2
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
Diffstat (limited to 'packfile.h')
-rw-r--r--packfile.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/packfile.h b/packfile.h
index b678d35..81e868d 100644
--- a/packfile.h
+++ b/packfile.h
@@ -90,7 +90,7 @@ uint32_t get_pack_fanout(struct packed_git *p, uint32_t value);
unsigned char *use_pack(struct packed_git *, struct pack_window **, off_t, unsigned long *);
void close_pack_windows(struct packed_git *);
void close_pack(struct packed_git *);
-void close_all_packs(struct raw_object_store *o);
+void close_object_store(struct raw_object_store *o);
void unuse_pack(struct pack_window **);
void clear_delta_base_cache(void);
struct packed_git *add_packed_git(const char *path, size_t path_len, int local);