From: Eric Sunshine Date: Sat, 17 Sep 2022 04:13:45 GMT Subject: Re: [PATCH v8 2/5] fsmonitor: relocate socket file if .git directory is remote Message-ID: In-Reply-To: On Fri, Sep 16, 2022 at 9:12 PM Eric DeCosta via GitGitGadget wrote: > If the .git directory is on a remote file system, create the socket > file in 'fsmonitor.socketDir' if it is defined, else create it in $HOME. > > Signed-off-by: Eric DeCosta > --- > diff --git a/compat/fsmonitor/fsm-ipc-win32.c b/compat/fsmonitor/fsm-ipc-win32.c > @@ -0,0 +1,9 @@ > +#include "config.h" > +#include "fsmonitor-ipc.h" > + > +const char *fsmonitor_ipc__get_path(struct repository *r) { > + static char *ret; > + if (!ret) > + ret = git_pathdup("fsmonitor--daemon.ipc"); > + return ret; > +} > \ No newline at end of file This file probably wants a final line terminator.