
If the .git directory is on a remote filesystem, create the socket file in 'fsmonitor.socketDir' if it is defined, else create it in $HOME. Signed-off-by: Eric DeCosta <edecosta@mathworks.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
10 lines
199 B
C
10 lines
199 B
C
#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;
|
|
}
|