mirror of
https://github.com/git/git
synced 2024-10-31 00:45:12 +00:00
15db4e7f4a
We had several C files include cache.h unnecessarily. Replace those with an include of "git-compat-util.h" instead. Much like the previous commit, these have all been verified via both ensuring that gcc -E $SOURCE_FILE | grep '"cache.h"' found no hits and that make DEVELOPER=1 ${OBJECT_FILE_FOR_SOURCE_FILE} successfully compiles without warnings. Signed-off-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
11 lines
236 B
C
11 lines
236 B
C
#include "test-tool.h"
|
|
#include "grep.h"
|
|
|
|
int cmd__pcre2_config(int argc, const char **argv)
|
|
{
|
|
if (argc == 2 && !strcmp(argv[1], "has-PCRE2_MATCH_INVALID_UTF")) {
|
|
int value = PCRE2_MATCH_INVALID_UTF;
|
|
return !value;
|
|
}
|
|
return 1;
|
|
}
|