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>
This commit is contained in:
Calvin Wan
2023-09-29 14:20:51 -07:00
committed by Junio C Hamano
parent e16be13cfa
commit b1bda75173
18 changed files with 219 additions and 205 deletions

View File

@ -1,6 +1,6 @@
#include "git-compat-util.h"
#include "abspath.h"
#include "config.h"
#include "parse.h"
#include "dir.h"
#include "environment.h"
#include "gettext.h"