mingw: avoid relative `#include`s

We want to make them relative to the top-level directory. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Johannes Schindelin committed Oct 9, 2025 at 07:46 UTC b9c6962ad5b2f735d8281eb03646cefcf01886de
1 file changed +10 -10
compat/mingw.c
+10 -10
@@ -1,22 +1,22 @@
1 #define USE_THE_REPOSITORY_VARIABLE
2 #define DISABLE_SIGN_COMPARE_WARNINGS
3
4 -#include "../git-compat-util.h"
4 +#include "git-compat-util.h"
5 #include "win32.h"
6 #include <aclapi.h>
7 #include <sddl.h>
8 #include <conio.h>
9 #include <wchar.h>
10 -#include "../strbuf.h"
11 -#include "../run-command.h"
12 -#include "../abspath.h"
13 -#include "../alloc.h"
10 +#include "strbuf.h"
11 +#include "run-command.h"
12 +#include "abspath.h"
13 +#include "alloc.h"
14 #include "win32/lazyload.h"
15 -#include "../config.h"
16 -#include "../environment.h"
17 -#include "../trace2.h"
18 -#include "../symlinks.h"
19 -#include "../wrapper.h"
15 +#include "config.h"
16 +#include "environment.h"
17 +#include "trace2.h"
18 +#include "symlinks.h"
19 +#include "wrapper.h"
20 #include "dir.h"
21 #include "gettext.h"
22 #define SECURITY_WIN32