aboutsummaryrefslogtreecommitdiffstats
path: root/pack-objects.c
diff options
context:
space:
mode:
authorCalvin Wan <calvinwan@google.com>2023-09-29 14:20:51 -0700
committerJunio C Hamano <gitster@pobox.com>2023-09-29 15:14:57 -0700
commitb1bda751739d90e1a94b47397676bcb8eebf16d5 (patch)
tree63b802377016c46d878d918633ebb1a54c015a5b /pack-objects.c
parente16be13cfaf1102340c7816d14cec2009a864faf (diff)
downloadgit-b1bda751739d90e1a94b47397676bcb8eebf16d5.tar.gz
parse: separate out parsing functions from config.h
The files config.{h,c} contain functions that have to do with parsing, but not config. In order to further reduce all-in-one headers, separate out functions in config.c that do not operate on config into its own file, parse.h, and update the include directives in the .c files that need only such functions accordingly. Signed-off-by: Calvin Wan <calvinwan@google.com> Signed-off-by: Jonathan Tan <jonathantanmy@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'pack-objects.c')
-rw-r--r--pack-objects.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pack-objects.c b/pack-objects.c
index 1b8052bece..f403ca6986 100644
--- a/pack-objects.c
+++ b/pack-objects.c
@@ -3,7 +3,7 @@
#include "pack.h"
#include "pack-objects.h"
#include "packfile.h"
-#include "config.h"
+#include "parse.h"
static uint32_t locate_object_entry_hash(struct packing_data *pdata,
const struct object_id *oid,