summaryrefslogtreecommitdiffstats
path: root/compat/fsmonitor/fsm-ipc-win32.c
diff options
context:
space:
mode:
Diffstat (limited to 'compat/fsmonitor/fsm-ipc-win32.c')
-rw-r--r--compat/fsmonitor/fsm-ipc-win32.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/compat/fsmonitor/fsm-ipc-win32.c b/compat/fsmonitor/fsm-ipc-win32.c
new file mode 100644
index 0000000..41984ea
--- /dev/null
+++ b/compat/fsmonitor/fsm-ipc-win32.c
@@ -0,0 +1,11 @@
+#include "git-compat-util.h"
+#include "config.h"
+#include "fsmonitor-ipc.h"
+#include "path.h"
+
+const char *fsmonitor_ipc__get_path(struct repository *r) {
+ static char *ret;
+ if (!ret)
+ ret = repo_git_path(r, "fsmonitor--daemon.ipc");
+ return ret;
+}