summaryrefslogtreecommitdiff
path: root/commit.c
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2025-04-15 11:38:18 +0200
committerJunio C Hamano <gitster@pobox.com>2025-04-15 08:24:36 -0700
commitd9f517d051d1008178cb6c809b5f906d0905508f (patch)
treeb830a64b23f00fbfde86c651bf492a773023147a /commit.c
parent632b5e3ee274a2012a88bc32af2d9cf04c5bd363 (diff)
object-file: split out functions relating to object store subsystem
While we have the "object-store.h" header, most of the functionality for object stores is actually hosted in "object-file.c". This makes it hard to find relevant functions and causes us to mix up concerns. Split out functions relating to the object store subsystem into a new "object-store.c" file. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.c')
-rw-r--r--commit.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/commit.c b/commit.c
index 48aeefaad3..fbf4f8e87f 100644
--- a/commit.c
+++ b/commit.c
@@ -29,6 +29,7 @@
#include "tree.h"
#include "hook.h"
#include "parse.h"
+#include "object-file.h"
#include "object-file-convert.h"
static struct commit_extra_header *read_commit_extra_header_lines(const char *buf, size_t len, const char **);