diff options
author | Calvin Wan <calvinwan@google.com> | 2023-09-29 23:20:51 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-09-30 00:14:57 +0200 |
commit | b1bda751739d90e1a94b47397676bcb8eebf16d5 (patch) | |
tree | 63b802377016c46d878d918633ebb1a54c015a5b /pathspec.c | |
parent | config: correct bad boolean env value error message (diff) | |
download | git-b1bda751739d90e1a94b47397676bcb8eebf16d5.tar.xz git-b1bda751739d90e1a94b47397676bcb8eebf16d5.zip |
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 'pathspec.c')
-rw-r--r-- | pathspec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pathspec.c b/pathspec.c index 3a3a5724c4..7f88f1c02b 100644 --- a/pathspec.c +++ b/pathspec.c @@ -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" |