]> git.ipfire.org Git - thirdparty/git.git/commitdiff
mingw: avoid relative `#include`s
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Thu, 9 Oct 2025 07:46:00 +0000 (07:46 +0000)
committerJunio C Hamano <gitster@pobox.com>
Thu, 9 Oct 2025 20:21:27 +0000 (13:21 -0700)
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>
compat/mingw.c

index 8538e3d1729d2585ce253f74325cb57be74d7823..da99473f56d451ddfe11e9e302832cb1b527b4fa 100644 (file)
@@ -1,22 +1,22 @@
 #define USE_THE_REPOSITORY_VARIABLE
 #define DISABLE_SIGN_COMPARE_WARNINGS
 
-#include "../git-compat-util.h"
+#include "git-compat-util.h"
 #include "win32.h"
 #include <aclapi.h>
 #include <sddl.h>
 #include <conio.h>
 #include <wchar.h>
-#include "../strbuf.h"
-#include "../run-command.h"
-#include "../abspath.h"
-#include "../alloc.h"
+#include "strbuf.h"
+#include "run-command.h"
+#include "abspath.h"
+#include "alloc.h"
 #include "win32/lazyload.h"
-#include "../config.h"
-#include "../environment.h"
-#include "../trace2.h"
-#include "../symlinks.h"
-#include "../wrapper.h"
+#include "config.h"
+#include "environment.h"
+#include "trace2.h"
+#include "symlinks.h"
+#include "wrapper.h"
 #include "dir.h"
 #include "gettext.h"
 #define SECURITY_WIN32