git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH v2 00/27] Builtin FSMonitor Part 3

From
JGJeff Hostetler via GitGitGadget <gitgitgadget@gmail.com>
Date
Mar 8, 2022, 22:15 UTC
Message-ID
<pull.1143.v2.git.1646777727.gitgitgadget@gmail.com>
In-Reply-To
<pull.1143.git.1644940773.gitgitgadget@gmail.com>
Here is V2 of part 3 of my builtin FSMonitor series.
I think I have addressed all of the feedback from V1. This includes:

[] AEvar's suggestion to simplify the API to get the repo incompatibility message.

[] I updated the daemon on MacOS to report both the NFC and NFD spellings of a pathname when appropriate. This is a little more general than the "core.precomposeUnicode" setting, since the daemon does not know how the client has (or will have) it set when they make a query.

[] I replaced my Unicode NFC/NFD test for MacOS to focus exclusively on Unicode composition/decomposition sensitivity and to not confuse that with case sensitivity.

[] Added code on MacOS to mark repos on FAT32 and NTFS volumes as incompatible with FSMonitor, since they don't support Unix domain sockets.

[] I reordered some of the static functions in the Windows version of the health monitoring code to reduce the need for forward declarations.

[] Lots of typos and cleanup.

This version has been rebased upon V6 of Part 2 which is currently in "next".

I'm not going to repeat the perf test results in the V2 version of the cover letter; interested readers should look at the cover letter for V1.

Jeff Hostetler (27):
  fsm-listen-win32: handle shortnames
  t7527: test FSMonitor on repos with Unicode root paths
  t/helper/fsmonitor-client: create stress test
  fsmonitor-settings: bare repos are incompatible with FSMonitor
  fsmonitor-settings: stub in platform-specific incompatibility checking
  fsmonitor-settings: VFS for Git virtual repos are incompatible
  fsmonitor-settings: stub in macOS-specific incompatibility checking
  fsmonitor-settings: remote repos on macOS are incompatible
  fsmonitor-settings: remote repos on Windows are incompatible
  unpack-trees: initialize fsmonitor_has_run_once in o->result
  fsm-listen-darwin: ignore FSEvents caused by xattr changes on macOS
  fsmonitor--daemon: cd out of worktree root
  fsmonitor--daemon: prepare for adding health thread
  fsmonitor--daemon: rename listener thread related variables
  fsmonitor--daemon: stub in health thread
  fsm-health-win32: add polling framework to monitor daemon health
  fsm-health-win32: force shutdown daemon if worktree root moves
  fsm-listen-darwin: shutdown daemon if worktree root is moved/renamed
  fsmonitor: optimize processing of directory events
  t7527: FSMonitor tests for directory moves
  t/perf/p7527: add perf test for builtin FSMonitor
  fsmonitor: never set CE_FSMONITOR_VALID on submodules
  t7527: test FSMonitor on case insensitive+preserving file system
  fsmonitor: on macOS also emit NFC spelling for NFD pathname
  t/lib-unicode-nfc-nfd: helper prereqs for testing unicode nfc/nfd
  t7527: test Unicode NFC/NFD handling on MacOS
  fsmonitor-settings: NTFS and FAT32 on MacOS are incompatible
 Makefile                               |  19 +-
 builtin/fsmonitor--daemon.c            | 107 ++++++-
 builtin/update-index.c                 |   7 +
 compat/fsmonitor/fsm-health-darwin.c   |  24 ++
 compat/fsmonitor/fsm-health-win32.c    | 278 +++++++++++++++++
 compat/fsmonitor/fsm-health.h          |  47 +++
 compat/fsmonitor/fsm-listen-darwin.c   | 122 ++++++--
 compat/fsmonitor/fsm-listen-win32.c    | 413 ++++++++++++++++++++-----
 compat/fsmonitor/fsm-listen.h          |   2 +-
 compat/fsmonitor/fsm-settings-darwin.c |  89 ++++++
 compat/fsmonitor/fsm-settings-win32.c  | 137 ++++++++
 config.mak.uname                       |   5 +
 contrib/buildsystems/CMakeLists.txt    |   8 +
 fsmonitor--daemon.h                    |  11 +-
 fsmonitor-settings.c                   |  81 +++++
 fsmonitor-settings.h                   |  29 ++
 fsmonitor.c                            |  73 ++++-
 fsmonitor.h                            |  11 +
 t/helper/test-fsmonitor-client.c       | 106 +++++++
 t/lib-unicode-nfc-nfd.sh               | 159 ++++++++++
 t/perf/p7527-builtin-fsmonitor.sh      | 257 +++++++++++++++
 t/t7519-status-fsmonitor.sh            |  32 ++
 t/t7527-builtin-fsmonitor.sh           | 314 +++++++++++++++++++
 unpack-trees.c                         |   1 +
 24 files changed, 2208 insertions(+), 124 deletions(-)
 create mode 100644 compat/fsmonitor/fsm-health-darwin.c
 create mode 100644 compat/fsmonitor/fsm-health-win32.c
 create mode 100644 compat/fsmonitor/fsm-health.h
 create mode 100644 compat/fsmonitor/fsm-settings-darwin.c
 create mode 100644 compat/fsmonitor/fsm-settings-win32.c
 create mode 100755 t/lib-unicode-nfc-nfd.sh
 create mode 100755 t/perf/p7527-builtin-fsmonitor.sh
base-commit: 1a9241e1fee9d418e436849853f031329e792192
Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-1143%2Fjeffhostetler%2Fbuiltin-fsmonitor-part3-v2
Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-1143/jeffhostetler/builtin-fsmonitor-part3-v2
Pull-Request: https://github.com/gitgitgadget/git/pull/1143
Range-diff vs v1:
  1:  23f38338cec !  1:  34619e0652b fsm-listen-win32: handle shortnames
     @@ compat/fsmonitor/fsm-listen-win32.c: normalize:
      + * to longname conversion on every notification event.
      + *
      + * We do not want to create a file to test this, so we assume that the
     -+ * root directory contains a ".git" file or directory.  (Out caller
     ++ * root directory contains a ".git" file or directory.  (Our caller
      + * only calls us for the worktree root, so this should be fine.)
      + *
      + * Remember the spelling of the shortname for ".git" if it exists.
     @@ compat/fsmonitor/fsm-listen-win32.c: normalize:
      +		 * lookup the longname for it.  Likewise, for moves
      +		 * and renames where we are given the old name.)
      +		 *
     -+		 * NEEDSWORK: Since deleting or moving a file or
     -+		 * directory by shortname is rather obscure, I'm going
     -+		 * ignore the failure and ask the caller to report the
     -+		 * original relative path.  This seemds kinder than
     -+		 * failing here and forcing a resync.
     ++		 * Since deleting or moving a file or directory by its
     ++		 * shortname is rather obscure, I'm going ignore the
     ++		 * failure and ask the caller to report the original
     ++		 * relative path.  This seems kinder than failing here
     ++		 * and forcing a resync.  Besides, forcing a resync on
     ++		 * every file/directory delete would effectively
     ++		 * cripple monitoring.
     ++		 *
     ++		 * We might revisit this in the future.
      +		 */
      +		return GRR_NO_CONVERSION_NEEDED;
      +	}
  3:  9af952e4d17 !  2:  3a0f30b849a t7527: test builtin FSMonitor watching repos with unicode paths
     @@ Metadata
      Author: Jeff Hostetler <jeffhost@microsoft.com>
      
       ## Commit message ##
     -    t7527: test builtin FSMonitor watching repos with unicode paths
     +    t7527: test FSMonitor on repos with Unicode root paths
      
     -    Create some test repos with UTF8 pathnames and verify that
     -    the builtin FSMonitor can watch them.  This test is mainly
     -    for Windows where we need to avoid `*A()` routines.
     +    Create some test repos with UTF8 characters in the pathname of the
     +    root directory and verify that the builtin FSMonitor can watch them.
     +
     +    This test is mainly for Windows where we need to avoid `*A()`
     +    routines.
      
          Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com>
      
     @@ t/t7527-builtin-fsmonitor.sh: do
       done
       
      +# Test Unicode UTF-8 characters in the pathname of the working
     -+# directory.  Use of "*A()" routines rather than "*W()" routines
     ++# directory root.  Use of "*A()" routines rather than "*W()" routines
      +# on Windows can sometimes lead to odd failures.
      +#
      +u1=$(printf "u_c3_a6__\xC3\xA6")
     @@ t/t7527-builtin-fsmonitor.sh: do
      +u_values="$u1 $u2"
      +for u in $u_values
      +do
     -+	test_expect_success "Unicode path: $u" '
     ++	test_expect_success "Unicode in repo root path: $u" '
      +		test_when_finished "stop_daemon_delete_repo $u" &&
      +
      +		git init "$u" &&
  4:  9efdbe28223 !  3:  87d1c0b6f2a t/helper/fsmonitor-client: create stress test
     @@ Commit message
          Create a client-side thread pool of n threads and have
          each of them make m requests as fast as they can.
      
     -    NEEDSWORK: This is just the client-side thread pool and
     -    is useful for interactive testing and experimentation.
     -    We need to add a script test to drive this.
     +    We do not currently inspect the contents of the response.
     +    We're only interested in placing a heavy request load on
     +    the daemon.
     +
     +    This test is useful for interactive testing and various
     +    experimentation.  For example, to place additional load
     +    on the daemon while another test is running.  We currently
     +    do not have a test script that actually uses this helper.
     +    We might add such a test in the future.
      
          Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com>
      
     @@ t/helper/test-fsmonitor-client.c: static int do_send_flush(void)
      +	free(data);
      +
      +	/*
     -+	 * TODO Decide if/when to return an error or call die().
     ++	 * Return an error if any of the _send_query requests failed.
     ++	 * We don't care about thread create/join errors.
      +	 */
     -+	return 0;
     ++	return sum_errors > 0;
      +}
      +
       int cmd__fsmonitor_client(int argc, const char **argv)
  5:  44cc61e186c !  4:  8c4f90ae4fd fsmonitor-settings: bare repos are incompatible with FSMonitor
     @@ builtin/fsmonitor--daemon.c: int cmd_fsmonitor__daemon(int argc, const char **ar
      +	fsm_settings__set_ipc(the_repository);
      +
      +	if (fsm_settings__get_mode(the_repository) == FSMONITOR_MODE_INCOMPATIBLE) {
     -+		struct strbuf buf_reason = STRBUF_INIT;
     -+		fsm_settings__get_reason(the_repository, &buf_reason);
     -+		error("%s '%s'", buf_reason.buf, xgetcwd());
     -+		strbuf_release(&buf_reason);
     -+		return -1;
     ++		const char *msg = fsm_settings__get_reason_msg(the_repository);
     ++
     ++		return error("%s '%s'", msg ? msg : "???", xgetcwd());
      +	}
      +
       	if (!strcmp(subcmd, "start"))
     @@ builtin/update-index.c: int cmd_update_index(int argc, const char **argv, const
       		enum fsmonitor_mode fsm_mode = fsm_settings__get_mode(r);
      +
      +		if (fsm_mode == FSMONITOR_MODE_INCOMPATIBLE) {
     -+			struct strbuf buf_reason = STRBUF_INIT;
     -+			fsm_settings__get_reason(r, &buf_reason);
     -+			error("%s", buf_reason.buf);
     -+			strbuf_release(&buf_reason);
     -+			return -1;
     ++			const char *msg = fsm_settings__get_reason_msg(r);
     ++
     ++			return error("%s '%s'", msg ? msg : "???", xgetcwd());
      +		}
      +
       		if (fsm_mode == FSMONITOR_MODE_DISABLED) {
     @@ fsmonitor-settings.c
       {
       	struct fsmonitor_settings *s;
      @@ fsmonitor-settings.c: void fsm_settings__set_ipc(struct repository *r)
     - {
     + 
       	lookup_fsmonitor_settings(r);
       
      +	if (check_for_incompatible(r))
     @@ fsmonitor-settings.c: void fsm_settings__set_ipc(struct repository *r)
       	FREE_AND_NULL(r->settings.fsmonitor->hook_path);
       }
      @@ fsmonitor-settings.c: void fsm_settings__set_hook(struct repository *r, const char *path)
     - {
     + 
       	lookup_fsmonitor_settings(r);
       
      +	if (check_for_incompatible(r))
     @@ fsmonitor-settings.c: void fsm_settings__set_disabled(struct repository *r)
       	lookup_fsmonitor_settings(r);
       
       	r->settings.fsmonitor->mode = FSMONITOR_MODE_DISABLED;
     -+	r->settings.fsmonitor->reason = FSMONITOR_REASON_ZERO;
     ++	r->settings.fsmonitor->reason = FSMONITOR_REASON_OK;
       	FREE_AND_NULL(r->settings.fsmonitor->hook_path);
       }
      +
     -+static void create_reason_message(struct repository *r,
     -+				  struct strbuf *buf_reason)
     ++enum fsmonitor_reason fsm_settings__get_reason(struct repository *r)
      +{
     -+	struct fsmonitor_settings *s = r->settings.fsmonitor;
     -+
     -+	switch (s->reason) {
     -+	case FSMONITOR_REASON_ZERO:
     -+		return;
     ++	if (!r)
     ++		r = the_repository;
      +
     -+	case FSMONITOR_REASON_BARE:
     -+		strbuf_addstr(buf_reason,
     -+			      _("bare repos are incompatible with fsmonitor"));
     -+		return;
     ++	lookup_fsmonitor_settings(r);
      +
     -+	default:
     -+		BUG("Unhandled case in create_reason_message '%d'", s->reason);
     -+	}
     ++	return r->settings.fsmonitor->reason;
      +}
      +
     -+enum fsmonitor_reason fsm_settings__get_reason(struct repository *r,
     -+					       struct strbuf *buf_reason)
     ++const char *fsm_settings__get_reason_msg(struct repository *r)
      +{
     -+	lookup_fsmonitor_settings(r);
     ++	enum fsmonitor_reason reason = fsm_settings__get_reason(r);
      +
     -+	strbuf_reset(buf_reason);
     -+	if (r->settings.fsmonitor->mode == FSMONITOR_MODE_INCOMPATIBLE)
     -+		create_reason_message(r, buf_reason);
     ++	switch (reason) {
     ++	case FSMONITOR_REASON_OK:
     ++		return NULL;
      +
     -+	return r->settings.fsmonitor->reason;
     ++	case FSMONITOR_REASON_BARE:
     ++		return _("bare repos are incompatible with fsmonitor");
     ++	}
     ++
     ++	BUG("Unhandled case in fsm_settings__get_reason_msg '%d'",
     ++	    reason);
      +}
      
       ## fsmonitor-settings.h ##
     @@ fsmonitor-settings.h
      + * Incompatibility reasons.
      + */
      +enum fsmonitor_reason {
     -+	FSMONITOR_REASON_ZERO = 0,
     -+	FSMONITOR_REASON_BARE = 1,
     ++	FSMONITOR_REASON_OK = 0, /* no incompatibility or when disbled */
     ++	FSMONITOR_REASON_BARE,
      +};
      +
       void fsm_settings__set_ipc(struct repository *r);
       void fsm_settings__set_hook(struct repository *r, const char *path);
       void fsm_settings__set_disabled(struct repository *r);
     - 
     +@@ fsmonitor-settings.h: void fsm_settings__set_disabled(struct repository *r);
       enum fsmonitor_mode fsm_settings__get_mode(struct repository *r);
       const char *fsm_settings__get_hook_path(struct repository *r);
     -+enum fsmonitor_reason fsm_settings__get_reason(struct repository *r,
     -+					       struct strbuf *buf_reason);
       
     ++enum fsmonitor_reason fsm_settings__get_reason(struct repository *r);
     ++const char *fsm_settings__get_reason_msg(struct repository *r);
     ++
       struct fsmonitor_settings;
       
     + #endif /* FSMONITOR_SETTINGS_H */
      
       ## t/t7519-status-fsmonitor.sh ##
      @@ t/t7519-status-fsmonitor.sh: test_lazy_prereq UNTRACKED_CACHE '
     @@ t/t7519-status-fsmonitor.sh: test_lazy_prereq UNTRACKED_CACHE '
      +test_expect_success 'incompatible bare repo' '
      +	test_when_finished "rm -rf ./bare-clone actual expect" &&
      +	git init --bare bare-clone &&
     -+	cat >expect <<-\EOF &&
     -+	error: bare repos are incompatible with fsmonitor
     -+	EOF
      +
      +	test_must_fail \
      +		git -C ./bare-clone -c core.fsmonitor=foo \
      +			update-index --fsmonitor 2>actual &&
     -+	test_cmp expect actual &&
     ++	grep "bare repos are incompatible with fsmonitor" actual &&
      +
      +	test_must_fail \
      +		git -C ./bare-clone -c core.fsmonitor=true \
      +			update-index --fsmonitor 2>actual &&
     -+	test_cmp expect actual
     ++	grep "bare repos are incompatible with fsmonitor" actual
      +'
      +
      +test_expect_success FSMONITOR_DAEMON 'run fsmonitor-daemon in bare repo' '
  6:  4715677f85f !  5:  6329328d185 fsmonitor-settings: stub in platform-specific incompatibility checking
     @@ Commit message
      
          In the existing fsmonitor-settings code we have a way to mark
          types of repos as incompatible with fsmonitor (whether via the
     -    hook and ipc APIs).  For example, we do this for bare repos,
     +    hook and IPC APIs).  For example, we do this for bare repos,
          since there are no files to watch.
      
     -    Extend this exclusion mechanism for platfor-specific reasons.
     +    Extend this exclusion mechanism for platform-specific reasons.
          This commit just creates the framework and adds a stub for Win32.
      
          Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com>
     @@ Makefile: all::
       # `compat/fsmonitor/fsm-listen-<name>.c` that implements the
       # `fsm_listen__*()` routines.
       #
     -+# If your platform has os-specific ways to tell if a repo is incompatible with
     -+# fsmonitor (whether the hook or ipc daemon version), set FSMONITOR_OS_SETTINGS
     ++# If your platform has OS-specific ways to tell if a repo is incompatible with
     ++# fsmonitor (whether the hook or IPC daemon version), set FSMONITOR_OS_SETTINGS
      +# to the "<name>" of the corresponding `compat/fsmonitor/fsm-settings-<name>.c`
      +# that implements the `fsm_os_settings__*()` routines.
      +#
     @@ compat/fsmonitor/fsm-settings-win32.c (new)
      +
      +enum fsmonitor_reason fsm_os__incompatible(struct repository *r)
      +{
     -+	return FSMONITOR_REASON_ZERO;
     ++	return FSMONITOR_REASON_OK;
      +}
      
       ## config.mak.uname ##
     @@ fsmonitor-settings.c: static int check_for_incompatible(struct repository *r)
      +		enum fsmonitor_reason reason;
      +
      +		reason = fsm_os__incompatible(r);
     -+		if (reason != FSMONITOR_REASON_ZERO) {
     ++		if (reason != FSMONITOR_REASON_OK) {
      +			set_incompatible(r, reason);
      +			return 1;
      +		}
     @@ fsmonitor-settings.c: static int check_for_incompatible(struct repository *r)
       
      
       ## fsmonitor-settings.h ##
     -@@ fsmonitor-settings.h: enum fsmonitor_reason fsm_settings__get_reason(struct repository *r,
     +@@ fsmonitor-settings.h: const char *fsm_settings__get_reason_msg(struct repository *r);
       
       struct fsmonitor_settings;
       
     @@ fsmonitor-settings.h: enum fsmonitor_reason fsm_settings__get_reason(struct repo
      + * Ask platform-specific code whether the repository is incompatible
      + * with fsmonitor (both hook and ipc modes).  For example, if the working
      + * directory is on a remote volume and mounted via a technology that does
     -+ * not support notification events.
     ++ * not support notification events, then we should not pretend to watch it.
      + *
      + * fsm_os__* routines should considered private to fsm_settings__
      + * routines.
  7:  4e856d60e38 !  6:  fa9e86e7de7 fsmonitor-settings: virtual repos are incompatible with FSMonitor
     @@ Metadata
      Author: Jeff Hostetler <jeffhost@microsoft.com>
      
       ## Commit message ##
     -    fsmonitor-settings: virtual repos are incompatible with FSMonitor
     +    fsmonitor-settings: VFS for Git virtual repos are incompatible
      
     -    Virtual repos, such as GVFS (aka VFS for Git), are incompatible
     -    with FSMonitor.
     +    VFS for Git virtual repositories are incompatible with FSMonitor.
     +
     +    VFS for Git is a downstream fork of Git.  It contains its own custom
     +    file system watcher that is aware of the virtualization.  If a working
     +    directory is being managed by VFS for Git, we should not try to watch
     +    it because we may get incomplete results.
     +
     +    We do not know anything about how VFS for Git works, but we do
     +    know that VFS for Git working directories contain a well-defined
     +    config setting.  If it is set, mark the working directory as
     +    incompatible.
      
          Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com>
      
     @@ compat/fsmonitor/fsm-settings-win32.c
       #include "fsmonitor-settings.h"
       
      +/*
     -+ * GVFS (aka VFS for Git) is incompatible with FSMonitor.
     ++ * VFS for Git is incompatible with FSMonitor.
      + *
     -+ * Granted, core Git does not know anything about GVFS and we
     ++ * Granted, core Git does not know anything about VFS for Git and we
      + * shouldn't make assumptions about a downstream feature, but users
      + * can install both versions.  And this can lead to incorrect results
     -+ * from core Git commands.  So, without bringing in any of the GVFS
     -+ * code, do a simple config test for a published config setting.  (We
     -+ * do not look at the various *_TEST_* environment variables.)
     ++ * from core Git commands.  So, without bringing in any of the VFS for
     ++ * Git code, do a simple config test for a published config setting.
     ++ * (We do not look at the various *_TEST_* environment variables.)
      + */
     -+static enum fsmonitor_reason is_virtual(struct repository *r)
     ++static enum fsmonitor_reason check_vfs4git(struct repository *r)
      +{
      +	const char *const_str;
      +
      +	if (!repo_config_get_value(r, "core.virtualfilesystem", &const_str))
     -+		return FSMONITOR_REASON_VIRTUAL;
     ++		return FSMONITOR_REASON_VFS4GIT;
      +
     -+	return FSMONITOR_REASON_ZERO;
     ++	return FSMONITOR_REASON_OK;
      +}
      +
       enum fsmonitor_reason fsm_os__incompatible(struct repository *r)
       {
      +	enum fsmonitor_reason reason;
      +
     -+	reason = is_virtual(r);
     -+	if (reason)
     ++	reason = check_vfs4git(r);
     ++	if (reason != FSMONITOR_REASON_OK)
      +		return reason;
      +
     - 	return FSMONITOR_REASON_ZERO;
     + 	return FSMONITOR_REASON_OK;
       }
      
       ## fsmonitor-settings.c ##
     -@@ fsmonitor-settings.c: static void create_reason_message(struct repository *r,
     - 			      _("bare repos are incompatible with fsmonitor"));
     - 		return;
     +@@ fsmonitor-settings.c: const char *fsm_settings__get_reason_msg(struct repository *r)
       
     -+	case FSMONITOR_REASON_VIRTUAL:
     -+		strbuf_addstr(buf_reason,
     -+			      _("virtual repos are incompatible with fsmonitor"));
     -+		return;
     + 	case FSMONITOR_REASON_BARE:
     + 		return _("bare repos are incompatible with fsmonitor");
      +
     - 	default:
     - 		BUG("Unhandled case in create_reason_message '%d'", s->reason);
     ++	case FSMONITOR_REASON_VFS4GIT:
     ++		return _("virtual repos are incompatible with fsmonitor");
       	}
     + 
     + 	BUG("Unhandled case in fsm_settings__get_reason_msg '%d'",
      
       ## fsmonitor-settings.h ##
      @@ fsmonitor-settings.h: enum fsmonitor_mode {
       enum fsmonitor_reason {
     - 	FSMONITOR_REASON_ZERO = 0,
     - 	FSMONITOR_REASON_BARE = 1,
     -+	FSMONITOR_REASON_VIRTUAL = 2,
     + 	FSMONITOR_REASON_OK = 0, /* no incompatibility or when disbled */
     + 	FSMONITOR_REASON_BARE,
     ++	FSMONITOR_REASON_VFS4GIT, /* VFS for Git virtualization */
       };
       
       void fsm_settings__set_ipc(struct repository *r);
  8:  e5511ef0f8b !  7:  c1802410410 fsmonitor-settings: stub in macOS-specific incompatibility checking
     @@ compat/fsmonitor/fsm-settings-darwin.c (new)
      +
      +enum fsmonitor_reason fsm_os__incompatible(struct repository *r)
      +{
     -+	return FSMONITOR_REASON_ZERO;
     ++	return FSMONITOR_REASON_OK;
      +}
      
       ## config.mak.uname ##
  9:  412fbc45868 !  8:  e3bfa0bd69d fsmonitor-settings: remote repos on macOS are incompatible with FSMonitor
     @@ Metadata
      Author: Jeff Hostetler <jeffhost@microsoft.com>
      
       ## Commit message ##
     -    fsmonitor-settings: remote repos on macOS are incompatible with FSMonitor
     +    fsmonitor-settings: remote repos on macOS are incompatible
      
          Teach Git to detect remote working directories on macOS and mark them as
          incompatible with FSMonitor.
     @@ compat/fsmonitor/fsm-settings-darwin.c
      + * So (for now at least), mark remote working directories as
      + * incompatible.
      + */
     -+static enum fsmonitor_reason is_remote(struct repository *r)
     ++static enum fsmonitor_reason check_remote(struct repository *r)
      +{
      +	struct statfs fs;
      +
     @@ compat/fsmonitor/fsm-settings-darwin.c
      +		trace_printf_key(&trace_fsmonitor, "statfs('%s') failed: %s",
      +				 r->worktree, strerror(saved_errno));
      +		errno = saved_errno;
     -+		return FSMONITOR_REASON_ZERO;
     ++		return FSMONITOR_REASON_ERROR;
      +	}
      +
      +	trace_printf_key(&trace_fsmonitor,
     @@ compat/fsmonitor/fsm-settings-darwin.c
      +	if (!(fs.f_flags & MNT_LOCAL))
      +		return FSMONITOR_REASON_REMOTE;
      +
     -+	return FSMONITOR_REASON_ZERO;
     ++	return FSMONITOR_REASON_OK;
      +}
       
       enum fsmonitor_reason fsm_os__incompatible(struct repository *r)
       {
      +	enum fsmonitor_reason reason;
      +
     -+	reason = is_remote(r);
     -+	if (reason)
     ++	reason = check_remote(r);
     ++	if (reason != FSMONITOR_REASON_OK)
      +		return reason;
      +
     - 	return FSMONITOR_REASON_ZERO;
     + 	return FSMONITOR_REASON_OK;
       }
      
       ## fsmonitor-settings.c ##
     -@@ fsmonitor-settings.c: static void create_reason_message(struct repository *r,
     - 			      _("virtual repos are incompatible with fsmonitor"));
     - 		return;
     +@@ fsmonitor-settings.c: const char *fsm_settings__get_reason_msg(struct repository *r)
     + 	case FSMONITOR_REASON_BARE:
     + 		return _("bare repos are incompatible with fsmonitor");
       
     ++	case FSMONITOR_REASON_ERROR:
     ++		return _("repo incompatible with fsmonitor due to errors");
     ++
      +	case FSMONITOR_REASON_REMOTE:
     -+		strbuf_addstr(buf_reason,
     -+			      _("remote repos are incompatible with fsmonitor"));
     -+		return;
     ++		return _("remote repos are incompatible with fsmonitor");
      +
     - 	default:
     - 		BUG("Unhandled case in create_reason_message '%d'", s->reason);
     + 	case FSMONITOR_REASON_VFS4GIT:
     + 		return _("virtual repos are incompatible with fsmonitor");
       	}
      
       ## fsmonitor-settings.h ##
     -@@ fsmonitor-settings.h: enum fsmonitor_reason {
     - 	FSMONITOR_REASON_ZERO = 0,
     - 	FSMONITOR_REASON_BARE = 1,
     - 	FSMONITOR_REASON_VIRTUAL = 2,
     -+	FSMONITOR_REASON_REMOTE = 3,
     +@@ fsmonitor-settings.h: enum fsmonitor_mode {
     + enum fsmonitor_reason {
     + 	FSMONITOR_REASON_OK = 0, /* no incompatibility or when disbled */
     + 	FSMONITOR_REASON_BARE,
     ++	FSMONITOR_REASON_ERROR, /* FS error probing for compatibility */
     ++	FSMONITOR_REASON_REMOTE,
     + 	FSMONITOR_REASON_VFS4GIT, /* VFS for Git virtualization */
       };
       
     - void fsm_settings__set_ipc(struct repository *r);
 10:  ae09fb10c3a !  9:  e32da3118fb fsmonitor-settings: remote repos on Windows are incompatible with FSMonitor
     @@ Metadata
      Author: Jeff Hostetler <jeffhost@microsoft.com>
      
       ## Commit message ##
     -    fsmonitor-settings: remote repos on Windows are incompatible with FSMonitor
     +    fsmonitor-settings: remote repos on Windows are incompatible
      
          Teach Git to detect remote working directories on Windows and mark them as
          incompatible with FSMonitor.
     @@ compat/fsmonitor/fsm-settings-win32.c
      +#include "fsmonitor.h"
       
       /*
     -  * GVFS (aka VFS for Git) is incompatible with FSMonitor.
     -@@ compat/fsmonitor/fsm-settings-win32.c: static enum fsmonitor_reason is_virtual(struct repository *r)
     - 	return FSMONITOR_REASON_ZERO;
     +  * VFS for Git is incompatible with FSMonitor.
     +@@ compat/fsmonitor/fsm-settings-win32.c: static enum fsmonitor_reason check_vfs4git(struct repository *r)
     + 	return FSMONITOR_REASON_OK;
       }
       
      +/*
     @@ compat/fsmonitor/fsm-settings-win32.c: static enum fsmonitor_reason is_virtual(s
      + *     $ mklink /d ./link //server/share/repo
      + *     $ git -C ./link status
      + */
     -+static enum fsmonitor_reason is_remote(struct repository *r)
     ++static enum fsmonitor_reason check_remote(struct repository *r)
      +{
      +	wchar_t wpath[MAX_PATH];
      +	wchar_t wfullpath[MAX_PATH];
     @@ compat/fsmonitor/fsm-settings-win32.c: static enum fsmonitor_reason is_virtual(s
      +	 * a multi-byte sequence.  See win32_has_dos_drive_prefix().
      +	 */
      +	if (xutftowcs_path(wpath, r->worktree) < 0)
     -+		return FSMONITOR_REASON_ZERO;
     ++		return FSMONITOR_REASON_ERROR;
      +
      +	/*
      +	 * GetDriveTypeW() requires a final slash.  We assume that the
     @@ compat/fsmonitor/fsm-settings-win32.c: static enum fsmonitor_reason is_virtual(s
      +	 * correctly handle some UNC "\\server\share\..." paths.
      +	 */
      +	if (!GetFullPathNameW(wpath, MAX_PATH, wfullpath, NULL))
     -+		return FSMONITOR_REASON_ZERO;
     ++		return FSMONITOR_REASON_ERROR;
      +
      +	driveType = GetDriveTypeW(wfullpath);
      +	trace_printf_key(&trace_fsmonitor,
     @@ compat/fsmonitor/fsm-settings-win32.c: static enum fsmonitor_reason is_virtual(s
      +
      +	if (driveType == DRIVE_REMOTE) {
      +		trace_printf_key(&trace_fsmonitor,
     -+				 "is_remote('%s') true",
     ++				 "check_remote('%s') true",
      +				 r->worktree);
      +		return FSMONITOR_REASON_REMOTE;
      +	}
      +
     -+	return FSMONITOR_REASON_ZERO;
     ++	return FSMONITOR_REASON_OK;
      +}
      +
       enum fsmonitor_reason fsm_os__incompatible(struct repository *r)
       {
       	enum fsmonitor_reason reason;
      @@ compat/fsmonitor/fsm-settings-win32.c: enum fsmonitor_reason fsm_os__incompatible(struct repository *r)
     - 	if (reason)
     + 	if (reason != FSMONITOR_REASON_OK)
       		return reason;
       
     -+	reason = is_remote(r);
     -+	if (reason)
     ++	reason = check_remote(r);
     ++	if (reason != FSMONITOR_REASON_OK)
      +		return reason;
      +
     - 	return FSMONITOR_REASON_ZERO;
     + 	return FSMONITOR_REASON_OK;
       }
 11:  be1672e32b2 = 10:  f63de4eda31 unpack-trees: initialize fsmonitor_has_run_once in o->result
 12:  71babe7243a = 11:  fe305f5f287 fsm-listen-darwin: ignore FSEvents caused by xattr changes on macOS
 14:  95cdff22be0 ! 12:  c8f3e251b1f fsmonitor--daemon: cd out of worktree root
     @@ builtin/fsmonitor--daemon.c: done:
       	strbuf_release(&state.path_cookie_prefix);
      +	strbuf_release(&state.path_ipc);
       
     - 	/*
     - 	 * NEEDSWORK: Consider "rm -rf <gitdir>/<fsmonitor-dir>"
     + 	return err;
     + }
      
       ## compat/fsmonitor/fsm-listen-win32.c ##
      @@ compat/fsmonitor/fsm-listen-win32.c: static int recv_rdcw_watch(struct one_watch *watch)
 15:  6b5642f7770 = 13:  71673be2da5 fsmonitor--daemon: prepare for adding health thread
 16:  63c502c20bd = 14:  5387baaf5d7 fsmonitor--daemon: rename listener thread related variables
 17:  4a77f5b1fde ! 15:  f78e4ad87c0 fsmonitor--daemon: stub in health thread
     @@ Commit message
          file system events outside of the watched worktree root or if
          we want to have an idle-timeout auto-shutdown feature.
      
     +    This commit creates the health thread itself, defines the thread-proc
     +    and sets up the thread's event loop.  It integrates this new thread
     +    into the existing IPC and Listener thread models.
     +
     +    This commit defines the API to the platform-specific code where all of
     +    the monitoring will actually happen.
     +
     +    The platform-specific code for MacOS is just stubs.  Meaning that the
     +    health thread will immediately exit on MacOS, but that is OK and
     +    expected.  Future work can define MacOS-specific monitoring.
     +
     +    The platform-specific code for Windows sets up enough of the
     +    WaitForMultipleObjects() machinery to watch for system and/or custom
     +    events.  Currently, the set of wait handles only includes our custom
     +    shutdown event (sent from our other theads).  Later commits in this
     +    series will extend the set of wait handles to monitor other
     +    conditions.
     +
          Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com>
      
       ## Makefile ##
     @@ Makefile: all::
      +# `compat/fsmonitor/fsm-health-<name>.c` files
      +# that implement the `fsm_listen__*()` and `fsm_health__*()` routines.
       #
     - # If your platform has os-specific ways to tell if a repo is incompatible with
     - # fsmonitor (whether the hook or ipc daemon version), set FSMONITOR_OS_SETTINGS
     + # If your platform has OS-specific ways to tell if a repo is incompatible with
     + # fsmonitor (whether the hook or IPC daemon version), set FSMONITOR_OS_SETTINGS
      @@ Makefile: endif
       ifdef FSMONITOR_DAEMON_BACKEND
       	COMPAT_CFLAGS += -DHAVE_FSMONITOR_DAEMON_BACKEND
 18:  a398cdb8a04 ! 16:  bb72f911a05 fsm-health-win32: add framework to monitor daemon health
     @@ Metadata
      Author: Jeff Hostetler <jeffhost@microsoft.com>
      
       ## Commit message ##
     -    fsm-health-win32: add framework to monitor daemon health
     +    fsm-health-win32: add polling framework to monitor daemon health
      
     -    Create framework in Win32 version of the "health" thread to
     -    periodically inspect the system and shutdown if warranted.
     +    Extend the Windows version of the "health" thread to periodically
     +    inspect the system and shutdown if warranted.
      
     -    This version just includes the setup for the timeout in
     -    WaitForMultipleObjects() and calls the (currently empty) table
     -    of functions.
     +    This commit updates the thread's wait loop to use a timeout and
     +    defines a (currently empty) table of functions to poll the system.
      
          A later commit will add functions to the table to actually
          inspect the system.
     @@ compat/fsmonitor/fsm-health-win32.c
      + */
      +#define WAIT_FREQ_MS (60 * 1000)
      +
     -+enum interval_fn_ctx { CTX_INIT = 0, CTX_TERM, CTX_TIMER };
     ++/*
     ++ * State machine states for each of the interval functions
     ++ * used for polling our health.
     ++ */
     ++enum interval_fn_ctx {
     ++	CTX_INIT = 0,
     ++	CTX_TERM,
     ++	CTX_TIMER
     ++};
      +
      +typedef int (interval_fn)(struct fsmonitor_daemon_state *state,
      +			  enum interval_fn_ctx ctx);
      +
     + struct fsm_health_data
     + {
     + 	HANDLE hEventShutdown;
     +@@ compat/fsmonitor/fsm-health-win32.c: void fsm_health__dtor(struct fsmonitor_daemon_state *state)
     + 	FREE_AND_NULL(state->health_data);
     + }
     + 
     ++/*
     ++ * A table of the polling functions.
     ++ */
      +static interval_fn *table[] = {
      +	NULL, /* must be last */
      +};
      +
      +/*
     -+ * Call all of the functions in the table.
     ++ * Call all of the polling functions in the table.
      + * Shortcut and return first error.
      + *
      + * Return 0 if all succeeded.
     @@ compat/fsmonitor/fsm-health-win32.c
      +	return 0;
      +}
      +
     - struct fsm_health_data
     - {
     - 	HANDLE hEventShutdown;
     -@@ compat/fsmonitor/fsm-health-win32.c: void fsm_health__dtor(struct fsmonitor_daemon_state *state)
       void fsm_health__loop(struct fsmonitor_daemon_state *state)
       {
       	struct fsm_health_data *data = state->health_data;
 19:  023fcd6e2b1 ! 17:  baf8c031a97 fsm-health-win32: force shutdown daemon if worktree root moves
     @@ Commit message
          Force shutdown fsmonitor daemon if the worktree root directory
          is moved, renamed, or deleted.
      
     +    Use Windows low-level GetFileInformationByHandle() to get and
     +    compare the Windows system unique ID for the directory with a
     +    cached version when we started up.  This lets us detect the
     +    case where someone renames the directory that we are watching
     +    and then creates a new directory with the original pathname.
     +
     +    This is important because we are listening to a named pipe for
     +    requests and they are stored in the Named Pipe File System (NPFS)
     +    which a kernel-resident pseudo filesystem not associated with
     +    the actual NTFS directory.
     +
     +    For example, if the daemon was watching "~/foo/", it would have
     +    a directory-watch handle on that directory and a named-pipe
     +    handle for "//./pipe/...foo".  Moving the directory to "~/bar/"
     +    does not invalidate the directory handle.  (So the daemon would
     +    actually be watching "~/bar" but listening on "//./pipe/...foo".
     +    If the user then does "git init ~/foo" and causes another daemon
     +    to start, the first daemon will still have ownership of the pipe
     +    and the second daemon instance will fail to start.  "git status"
     +    clients in "~/foo" will ask "//./pipe/...foo" about changes and
     +    the first daemon instance will tell them about "~/bar".
     +
     +    This commit causes the first daemon to shutdown if the system unique
     +    ID for "~/foo" changes (changes from what it was when the daemon
     +    started).  Shutdown occurs after a periodic poll.  After the
     +    first daemon exits and releases the lock on the named pipe,
     +    subsequent Git commands may cause another daemon to be started
     +    on "~/foo".  Similarly, a subsequent Git command may cause another
     +    daemon to be started on "~/bar".
     +
          Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com>
      
       ## compat/fsmonitor/fsm-health-win32.c ##
     -@@ compat/fsmonitor/fsm-health-win32.c: enum interval_fn_ctx { CTX_INIT = 0, CTX_TERM, CTX_TIMER };
     - typedef int (interval_fn)(struct fsmonitor_daemon_state *state,
     - 			  enum interval_fn_ctx ctx);
     - 
     -+static interval_fn has_worktree_moved;
     -+
     - static interval_fn *table[] = {
     -+	has_worktree_moved,
     - 	NULL, /* must be last */
     - };
     - 
      @@ compat/fsmonitor/fsm-health-win32.c: struct fsm_health_data
       	HANDLE hHandles[1]; /* the array does not own these handles */
       #define HEALTH_SHUTDOWN 0
     @@ compat/fsmonitor/fsm-health-win32.c: struct fsm_health_data
      +	} wt_moved;
       };
       
     - int fsm_health__ctor(struct fsmonitor_daemon_state *state)
     -@@ compat/fsmonitor/fsm-health-win32.c: void fsm_health__dtor(struct fsmonitor_daemon_state *state)
     - 	FREE_AND_NULL(state->health_data);
     - }
     - 
     ++/*
     ++ * Lookup the system unique ID for the path.  This is as close as
     ++ * we get to an inode number, but this also contains volume info,
     ++ * so it is a little stronger.
     ++ */
      +static int lookup_bhfi(wchar_t *wpath,
      +		       BY_HANDLE_FILE_INFORMATION *bhfi)
      +{
     @@ compat/fsmonitor/fsm-health-win32.c: void fsm_health__dtor(struct fsmonitor_daem
      +	return 0;
      +}
      +
     ++/*
     ++ * Compare the relevant fields from two system unique IDs.
     ++ * We use this to see if two different handles to the same
     ++ * path actually refer to the same *instance* of the file
     ++ * or directory.
     ++ */
      +static int bhfi_eq(const BY_HANDLE_FILE_INFORMATION *bhfi_1,
      +		   const BY_HANDLE_FILE_INFORMATION *bhfi_2)
      +{
     @@ compat/fsmonitor/fsm-health-win32.c: void fsm_health__dtor(struct fsmonitor_daem
      +	return 0;
      +}
      +
     - void fsm_health__loop(struct fsmonitor_daemon_state *state)
     ++
     + int fsm_health__ctor(struct fsmonitor_daemon_state *state)
       {
     - 	struct fsm_health_data *data = state->health_data;
     + 	struct fsm_health_data *data;
     +@@ compat/fsmonitor/fsm-health-win32.c: void fsm_health__dtor(struct fsmonitor_daemon_state *state)
     +  * A table of the polling functions.
     +  */
     + static interval_fn *table[] = {
     ++	has_worktree_moved,
     + 	NULL, /* must be last */
     + };
     + 
 20:  496b3da35d0 ! 18:  796b6591393 fsm-listen-darwin: shutdown daemon if worktree root is moved/renamed
     @@ compat/fsmonitor/fsm-listen-darwin.c: static void fsevent_callback(ConstFSEventS
      +			/*
      +			 * The spelling of the pathname of the root directory
      +			 * has changed.  This includes the name of the root
     -+			 * directory itself of of any parent directory in the
     ++			 * directory itself or of any parent directory in the
      +			 * path.
      +			 *
      +			 * (There may be other conditions that throw this,
 21:  07a9c7542be = 19:  24591920878 fsmonitor: optimize processing of directory events
 22:  f065e8c9a90 = 20:  06a32413854 t7527: FSMonitor tests for directory moves
 23:  e5a12832afa = 21:  4b59013cadd t/perf/p7527: add perf test for builtin FSMonitor
  -:  ----------- > 22:  524d449ed64 fsmonitor: never set CE_FSMONITOR_VALID on submodules
  2:  ad8cf6d9a47 ! 23:  c7264decaf6 t7527: test FS event reporing on macOS WRT case and Unicode
     @@ Metadata
      Author: Jeff Hostetler <jeffhost@microsoft.com>
      
       ## Commit message ##
     -    t7527: test FS event reporing on macOS WRT case and Unicode
     +    t7527: test FSMonitor on case insensitive+preserving file system
      
     -    Confirm that macOS FS events are reported with a normalized spelling.
     -
     -    APFS (and/or HFS+) is case-insensitive.  This means that case-independent
     -    lookups ( [ -d .git ] and [ -d .GIT ] ) should both succeed.  But that
     -    doesn't tell us how FS events are reported if we try "rm -rf .git" versus
     -    "rm -rf .GIT".  Are the events reported using the on-disk spelling of the
     -    pathname or in the spelling used by the command.
     -
     -    NEEDSWORK: I was only able to test case.  It would be nice to add tests
     -    that use different Unicode spellings/normalizations and understand the
     -    differences between APFS and HFS+ in this area.  We should confirm that
     -    the spelling of the workdir paths that the daemon sends to clients are
     -    always properly normalized.
     +    Test that FS events from the OS are received using the preserved,
     +    on-disk spelling of files/directories rather than spelling used
     +    to make the change.
      
          Signed-off-by: Jeff Hostetler <jeffhost@microsoft.com>
      
       ## t/t7527-builtin-fsmonitor.sh ##
     -@@ t/t7527-builtin-fsmonitor.sh: test_expect_success MINGW,SHORTNAMES 'implicit daemon stop (rename GIT~2)' '
     - 	test_must_fail git -C test_implicit_1s2 fsmonitor--daemon status
     +@@ t/t7527-builtin-fsmonitor.sh: test_expect_success "Submodule" '
     + 	my_match_and_clean
       '
       
     -+# Confirm that MacOS hides all of the Unicode normalization and/or
     -+# case folding from the FS events.  That is, are the pathnames in the
     -+# FS events reported using the spelling on the disk or in the spelling
     -+# used by the other process.
     -+#
     -+# Note that we assume that the filesystem is set to case insensitive.
     -+#
     -+# NEEDSWORK: APFS handles Unicode and Unicode normalization
     -+# differently than HFS+.  I only have an APFS partition, so
     -+# more testing here would be helpful.
     ++# On a case-insensitive file system, confirm that the daemon
     ++# notices when the .git directory is moved/renamed/deleted
     ++# regardless of how it is spelled in the the FS event.
     ++# That is, does the FS event receive the spelling of the
     ++# operation or does it receive the spelling preserved with
     ++# the file/directory.
      +#
     ++test_expect_success CASE_INSENSITIVE_FS 'case insensitive+preserving' '
     ++#	test_when_finished "stop_daemon_delete_repo test_insensitive" &&
     ++
     ++	git init test_insensitive &&
     ++	(
     ++		GIT_TRACE_FSMONITOR="$(pwd)/insensitive.trace" &&
     ++		export GIT_TRACE_FSMONITOR &&
      +
     -+# Rename .git using alternate spelling and confirm that the daemon
     -+# sees the event using the correct spelling and shutdown.
     -+test_expect_success UTF8_NFD_TO_NFC 'MacOS event spelling (rename .GIT)' '
     -+	test_when_finished "stop_daemon_delete_repo test_apfs" &&
     ++		start_daemon test_insensitive
     ++	) &&
      +
     -+	git init test_apfs &&
     -+	start_daemon test_apfs &&
     ++	mkdir -p test_insensitive/abc/def &&
     ++	echo xyz >test_insensitive/ABC/DEF/xyz &&
      +
     -+	test_path_is_dir test_apfs/.git &&
     -+	test_path_is_dir test_apfs/.GIT &&
     ++	test_path_is_dir test_insensitive/.git &&
     ++	test_path_is_dir test_insensitive/.GIT &&
      +
     -+	mv test_apfs/.GIT test_apfs/.FOO &&
     ++	# Rename .git using an alternate spelling to verify that that
     ++	# daemon detects it and automatically shuts down.
     ++	mv test_insensitive/.GIT test_insensitive/.FOO &&
      +	sleep 1 &&
     -+	mv test_apfs/.FOO test_apfs/.git &&
     ++	mv test_insensitive/.FOO test_insensitive/.git &&
     ++	test_must_fail git -C test_insensitive fsmonitor--daemon status &&
      +
     -+	test_must_fail git -C test_apfs fsmonitor--daemon status
     ++	# Verify that events were reported using on-disk spellings of the
     ++	# directories and files that we touched.  We may or may not get a
     ++	# trailing slash on modified directories.
     ++	#
     ++	egrep "^event: abc/?$"       ./insensitive.trace &&
     ++	egrep "^event: abc/def/?$"   ./insensitive.trace &&
     ++	egrep "^event: abc/def/xyz$" ./insensitive.trace
      +'
      +
     - test_expect_success 'cannot start multiple daemons' '
     - 	test_when_finished "stop_daemon_delete_repo test_multiple" &&
     - 
     + test_done
 13:  f19671f7def <  -:  ----------- fsmonitor--daemon: print start message only if fsmonitor.announceStartup
  -:  ----------- > 24:  95b9d4210d2 fsmonitor: on macOS also emit NFC spelling for NFD pathname
  -:  ----------- > 25:  5a0c1b7a287 t/lib-unicode-nfc-nfd: helper prereqs for testing unicode nfc/nfd
  -:  ----------- > 26:  a45c1fd3000 t7527: test Unicode NFC/NFD handling on MacOS
  -:  ----------- > 27:  e3e01677d93 fsmonitor-settings: NTFS and FAT32 on MacOS are incompatible
-- 
gitgitgadget
Previous: Derrick StoleeNext: Jeff Hostetler via GitGitGadget
Message 57 of 345 in “Builtin FSMonitor Part 3”
  1. 00/23 Builtin FSMonitor Part 3Jeff Hostetler via GitGitGadget, Feb 15, 2022
  2. 02/23 t7527: test FS event reporing on macOS WRT case and UnicodeJeff Hostetler via GitGitGadget, Feb 15, 2022
  3. Derrick StoleeFeb 24, 2022
  4. Torsten B��gershausenFeb 24, 2022
  5. Jeff HostetlerMar 4, 2022
  6. Torsten B��gershausenMar 5, 2022
  7. Jeff HostetlerMar 7, 2022
  8. Jeff HostetlerMar 4, 2022
  9. 01/23 fsm-listen-win32: handle shortnamesJeff Hostetler via GitGitGadget, Feb 15, 2022
  10. Derrick StoleeFeb 24, 2022
  11. 03/23 t7527: test builtin FSMonitor watching repos with unicode pathsJeff Hostetler via GitGitGadget, Feb 15, 2022
  12. 04/23 t/helper/fsmonitor-client: create stress testJeff Hostetler via GitGitGadget, Feb 15, 2022
  13. Derrick StoleeFeb 24, 2022
  14. Jeff HostetlerMar 1, 2022
  15. 07/23 fsmonitor-settings: virtual repos are incompatible with FSMonitorJeff Hostetler via GitGitGadget, Feb 15, 2022
  16. Derrick StoleeFeb 24, 2022
  17. Jeff HostetlerMar 1, 2022
  18. 06/23 fsmonitor-settings: stub in platform-specific incompatibility checkingJeff Hostetler via GitGitGadget, Feb 15, 2022
  19. Derrick StoleeFeb 24, 2022
  20. 05/23 fsmonitor-settings: bare repos are incompatible with FSMonitorJeff Hostetler via GitGitGadget, Feb 15, 2022
  21. Ævar Arnfjörð BjarmasonFeb 25, 2022
  22. Jeff HostetlerMar 2, 2022
  23. 08/23 fsmonitor-settings: stub in macOS-specific incompatibility checkingJeff Hostetler via GitGitGadget, Feb 15, 2022
  24. 09/23 fsmonitor-settings: remote repos on macOS are incompatible with FSMonitorJeff Hostetler via GitGitGadget, Feb 15, 2022
  25. Derrick StoleeFeb 24, 2022
  26. Jeff HostetlerMar 1, 2022
  27. 10/23 fsmonitor-settings: remote repos on Windows are incompatible with FSMonitorJeff Hostetler via GitGitGadget, Feb 15, 2022
  28. Derrick StoleeFeb 24, 2022
  29. 12/23 fsm-listen-darwin: ignore FSEvents caused by xattr changes on macOSJeff Hostetler via GitGitGadget, Feb 15, 2022
  30. 11/23 unpack-trees: initialize fsmonitor_has_run_once in o->resultJeff Hostetler via GitGitGadget, Feb 15, 2022
  31. 13/23 fsmonitor--daemon: print start message only if fsmonitor.announceStartupJeff Hostetler via GitGitGadget, Feb 15, 2022
  32. 14/23 fsmonitor--daemon: cd out of worktree rootJeff Hostetler via GitGitGadget, Feb 15, 2022
  33. 15/23 fsmonitor--daemon: prepare for adding health threadJeff Hostetler via GitGitGadget, Feb 15, 2022
  34. 16/23 fsmonitor--daemon: rename listener thread related variablesJeff Hostetler via GitGitGadget, Feb 15, 2022
  35. 19/23 fsm-health-win32: force shutdown daemon if worktree root movesJeff Hostetler via GitGitGadget, Feb 15, 2022
  36. Derrick StoleeFeb 24, 2022
  37. Jeff HostetlerMar 3, 2022
  38. 22/23 t7527: FSMonitor tests for directory movesJeff Hostetler via GitGitGadget, Feb 15, 2022
  39. 20/23 fsm-listen-darwin: shutdown daemon if worktree root is moved/renamedJeff Hostetler via GitGitGadget, Feb 15, 2022
  40. Derrick StoleeFeb 24, 2022
  41. 23/23 t/perf/p7527: add perf test for builtin FSMonitorJeff Hostetler via GitGitGadget, Feb 15, 2022
  42. 21/23 fsmonitor: optimize processing of directory eventsJeff Hostetler via GitGitGadget, Feb 15, 2022
  43. Derrick StoleeFeb 24, 2022
  44. 17/23 fsmonitor--daemon: stub in health threadJeff Hostetler via GitGitGadget, Feb 15, 2022
  45. Derrick StoleeFeb 24, 2022
  46. Derrick StoleeFeb 24, 2022
  47. Jeff HostetlerMar 3, 2022
  48. Jeff HostetlerMar 3, 2022
  49. Jeff HostetlerMar 3, 2022
  50. 18/23 fsm-health-win32: add framework to monitor daemon healthJeff Hostetler via GitGitGadget, Feb 15, 2022
  51. Derrick StoleeFeb 24, 2022
  52. Junio C HamanoFeb 16, 2022
  53. Jeff HostetlerFeb 16, 2022
  54. Derrick StoleeFeb 24, 2022
  55. Jeff HostetlerMar 7, 2022
  56. Derrick StoleeMar 9, 2022
  57. 00/27 Builtin FSMonitor Part 3Jeff Hostetler via GitGitGadget, Mar 8, 2022
  58. 01/27 fsm-listen-win32: handle shortnamesJeff Hostetler via GitGitGadget, Mar 8, 2022
  59. 02/27 t7527: test FSMonitor on repos with Unicode root pathsJeff Hostetler via GitGitGadget, Mar 8, 2022
  60. 03/27 t/helper/fsmonitor-client: create stress testJeff Hostetler via GitGitGadget, Mar 8, 2022
  61. 04/27 fsmonitor-settings: bare repos are incompatible with FSMonitorJeff Hostetler via GitGitGadget, Mar 8, 2022
  62. Ævar Arnfjörð BjarmasonMar 11, 2022
  63. Jeff HostetlerMar 11, 2022
  64. 05/27 fsmonitor-settings: stub in platform-specific incompatibility checkingJeff Hostetler via GitGitGadget, Mar 8, 2022
  65. 07/27 fsmonitor-settings: stub in macOS-specific incompatibility checkingJeff Hostetler via GitGitGadget, Mar 8, 2022
  66. 06/27 fsmonitor-settings: VFS for Git virtual repos are incompatibleJeff Hostetler via GitGitGadget, Mar 8, 2022
  67. 08/27 fsmonitor-settings: remote repos on macOS are incompatibleJeff Hostetler via GitGitGadget, Mar 8, 2022
  68. 11/27 fsm-listen-darwin: ignore FSEvents caused by xattr changes on macOSJeff Hostetler via GitGitGadget, Mar 8, 2022
  69. 09/27 fsmonitor-settings: remote repos on Windows are incompatibleJeff Hostetler via GitGitGadget, Mar 8, 2022
  70. 12/27 fsmonitor--daemon: cd out of worktree rootJeff Hostetler via GitGitGadget, Mar 8, 2022
  71. 10/27 unpack-trees: initialize fsmonitor_has_run_once in o->resultJeff Hostetler via GitGitGadget, Mar 8, 2022
  72. 14/27 fsmonitor--daemon: rename listener thread related variablesJeff Hostetler via GitGitGadget, Mar 8, 2022
  73. 15/27 fsmonitor--daemon: stub in health threadJeff Hostetler via GitGitGadget, Mar 8, 2022
  74. 17/27 fsm-health-win32: force shutdown daemon if worktree root movesJeff Hostetler via GitGitGadget, Mar 8, 2022
  75. 19/27 fsmonitor: optimize processing of directory eventsJeff Hostetler via GitGitGadget, Mar 8, 2022
  76. 18/27 fsm-listen-darwin: shutdown daemon if worktree root is moved/renamedJeff Hostetler via GitGitGadget, Mar 8, 2022
  77. 22/27 fsmonitor: never set CE_FSMONITOR_VALID on submodulesJeff Hostetler via GitGitGadget, Mar 8, 2022
  78. 21/27 t/perf/p7527: add perf test for builtin FSMonitorJeff Hostetler via GitGitGadget, Mar 8, 2022
  79. 24/27 fsmonitor: on macOS also emit NFC spelling for NFD pathnameJeff Hostetler via GitGitGadget, Mar 8, 2022
  80. 20/27 t7527: FSMonitor tests for directory movesJeff Hostetler via GitGitGadget, Mar 8, 2022
  81. 16/27 fsm-health-win32: add polling framework to monitor daemon healthJeff Hostetler via GitGitGadget, Mar 8, 2022
  82. 13/27 fsmonitor--daemon: prepare for adding health threadJeff Hostetler via GitGitGadget, Mar 8, 2022
  83. 23/27 t7527: test FSMonitor on case insensitive+preserving file systemJeff Hostetler via GitGitGadget, Mar 8, 2022
  84. 25/27 t/lib-unicode-nfc-nfd: helper prereqs for testing unicode nfc/nfdJeff Hostetler via GitGitGadget, Mar 8, 2022
  85. Derrick StoleeMar 9, 2022
  86. Derrick StoleeMar 9, 2022
  87. Jeff HostetlerMar 10, 2022
  88. Jeff HostetlerMar 10, 2022
  89. 27/27 fsmonitor-settings: NTFS and FAT32 on MacOS are incompatibleJeff Hostetler via GitGitGadget, Mar 8, 2022
  90. 26/27 t7527: test Unicode NFC/NFD handling on MacOSJeff Hostetler via GitGitGadget, Mar 8, 2022
  91. Derrick StoleeMar 9, 2022
  92. Torsten B��gershausenMar 10, 2022
  93. Torsten BögershausenMar 13, 2022
  94. Jeff HostetlerMar 21, 2022
  95. rsbecker@nexbridge.comMar 21, 2022
  96. Jeff HostetlerMar 22, 2022
  97. rsbecker@nexbridge.comMar 22, 2022
  98. Jeff HostetlerMar 22, 2022
  99. Jeff HostetlerMar 21, 2022
  100. 00/27 Builtin FSMonitor Part 3Jeff Hostetler via GitGitGadget, Mar 22, 2022
  101. 01/27 fsm-listen-win32: handle shortnamesJeff Hostetler via GitGitGadget, Mar 22, 2022
  102. 02/27 t7527: test FSMonitor on repos with Unicode root pathsJeff Hostetler via GitGitGadget, Mar 22, 2022
  103. 03/27 t/helper/fsmonitor-client: create stress testJeff Hostetler via GitGitGadget, Mar 22, 2022
  104. 04/27 fsmonitor-settings: bare repos are incompatible with FSMonitorJeff Hostetler via GitGitGadget, Mar 22, 2022
  105. 05/27 fsmonitor-settings: stub in Win32-specific incompatibility checkingJeff Hostetler via GitGitGadget, Mar 22, 2022
  106. 06/27 fsmonitor-settings: VFS for Git virtual repos are incompatibleJeff Hostetler via GitGitGadget, Mar 22, 2022
  107. 07/27 fsmonitor-settings: stub in macOS-specific incompatibility checkingJeff Hostetler via GitGitGadget, Mar 22, 2022
  108. 09/27 fsmonitor-settings: remote repos on Windows are incompatibleJeff Hostetler via GitGitGadget, Mar 22, 2022
  109. 16/27 fsmonitor--daemon: stub in health threadJeff Hostetler via GitGitGadget, Mar 22, 2022
  110. 17/27 fsm-health-win32: add polling framework to monitor daemon healthJeff Hostetler via GitGitGadget, Mar 22, 2022
  111. 19/27 fsm-listen-darwin: shutdown daemon if worktree root is moved/renamedJeff Hostetler via GitGitGadget, Mar 22, 2022
  112. 20/27 fsmonitor: optimize processing of directory eventsJeff Hostetler via GitGitGadget, Mar 22, 2022
  113. 18/27 fsm-health-win32: force shutdown daemon if worktree root movesJeff Hostetler via GitGitGadget, Mar 22, 2022
  114. 15/27 fsmonitor--daemon: rename listener thread related variablesJeff Hostetler via GitGitGadget, Mar 22, 2022
  115. 14/27 fsmonitor--daemon: prepare for adding health threadJeff Hostetler via GitGitGadget, Mar 22, 2022
  116. 10/27 fsmonitor-settings: NTFS and FAT32 on MacOS are incompatibleJeff Hostetler via GitGitGadget, Mar 22, 2022
  117. 08/27 fsmonitor-settings: remote repos on macOS are incompatibleJeff Hostetler via GitGitGadget, Mar 22, 2022
  118. 12/27 fsm-listen-darwin: ignore FSEvents caused by xattr changes on macOSJeff Hostetler via GitGitGadget, Mar 22, 2022
  119. 11/27 unpack-trees: initialize fsmonitor_has_run_once in o->resultJeff Hostetler via GitGitGadget, Mar 22, 2022
  120. 13/27 fsmonitor--daemon: cd out of worktree rootJeff Hostetler via GitGitGadget, Mar 22, 2022
  121. 21/27 t7527: FSMonitor tests for directory movesJeff Hostetler via GitGitGadget, Mar 22, 2022
  122. 22/27 t/perf/p7527: add perf test for builtin FSMonitorJeff Hostetler via GitGitGadget, Mar 22, 2022
  123. 23/27 fsmonitor: never set CE_FSMONITOR_VALID on submodulesJeff Hostetler via GitGitGadget, Mar 22, 2022
  124. 24/27 t7527: test FSMonitor on case insensitive+preserving file systemJeff Hostetler via GitGitGadget, Mar 22, 2022
  125. 25/27 fsmonitor: on macOS also emit NFC spelling for NFD pathnameJeff Hostetler via GitGitGadget, Mar 22, 2022
  126. 26/27 t/lib-unicode-nfc-nfd: helper prereqs for testing unicode nfc/nfdJeff Hostetler via GitGitGadget, Mar 22, 2022
  127. 27/27 t7527: test Unicode NFC/NFD handling on MacOSJeff Hostetler via GitGitGadget, Mar 22, 2022
  128. 00/27 Builtin FSMonitor Part 3Jeff Hostetler via GitGitGadget, Mar 24, 2022
  129. 01/27 fsm-listen-win32: handle shortnamesJeff Hostetler via GitGitGadget, Mar 24, 2022
  130. 13/27 fsmonitor--daemon: cd out of worktree rootJeff Hostetler via GitGitGadget, Mar 24, 2022
  131. 14/27 fsmonitor--daemon: prepare for adding health threadJeff Hostetler via GitGitGadget, Mar 24, 2022
  132. 11/27 unpack-trees: initialize fsmonitor_has_run_once in o->resultJeff Hostetler via GitGitGadget, Mar 24, 2022
  133. 15/27 fsmonitor--daemon: rename listener thread related variablesJeff Hostetler via GitGitGadget, Mar 24, 2022
  134. 06/27 fsmonitor-settings: VFS for Git virtual repos are incompatibleJeff Hostetler via GitGitGadget, Mar 24, 2022
  135. 16/27 fsmonitor--daemon: stub in health threadJeff Hostetler via GitGitGadget, Mar 24, 2022
  136. 17/27 fsm-health-win32: add polling framework to monitor daemon healthJeff Hostetler via GitGitGadget, Mar 24, 2022
  137. 18/27 fsm-health-win32: force shutdown daemon if worktree root movesJeff Hostetler via GitGitGadget, Mar 24, 2022
  138. 19/27 fsm-listen-darwin: shutdown daemon if worktree root is moved/renamedJeff Hostetler via GitGitGadget, Mar 24, 2022
  139. 20/27 fsmonitor: optimize processing of directory eventsJeff Hostetler via GitGitGadget, Mar 24, 2022
  140. 22/27 t/perf/p7527: add perf test for builtin FSMonitorJeff Hostetler via GitGitGadget, Mar 24, 2022
  141. 23/27 fsmonitor: never set CE_FSMONITOR_VALID on submodulesJeff Hostetler via GitGitGadget, Mar 24, 2022
  142. 21/27 t7527: FSMonitor tests for directory movesJeff Hostetler via GitGitGadget, Mar 24, 2022
  143. 10/27 fsmonitor-settings: NTFS and FAT32 on MacOS are incompatibleJeff Hostetler via GitGitGadget, Mar 24, 2022
  144. 09/27 fsmonitor-settings: remote repos on Windows are incompatibleJeff Hostetler via GitGitGadget, Mar 24, 2022
  145. 08/27 fsmonitor-settings: remote repos on macOS are incompatibleJeff Hostetler via GitGitGadget, Mar 24, 2022
  146. 07/27 fsmonitor-settings: stub in macOS-specific incompatibility checkingJeff Hostetler via GitGitGadget, Mar 24, 2022
  147. 04/27 fsmonitor-settings: bare repos are incompatible with FSMonitorJeff Hostetler via GitGitGadget, Mar 24, 2022
  148. Ævar Arnfjörð BjarmasonApr 19, 2022
  149. Jeff HostetlerApr 22, 2022
  150. 05/27 fsmonitor-settings: stub in Win32-specific incompatibility checkingJeff Hostetler via GitGitGadget, Mar 24, 2022
  151. 03/27 t/helper/fsmonitor-client: create stress testJeff Hostetler via GitGitGadget, Mar 24, 2022
  152. 02/27 t7527: test FSMonitor on repos with Unicode root pathsJeff Hostetler via GitGitGadget, Mar 24, 2022
  153. 12/27 fsm-listen-darwin: ignore FSEvents caused by xattr changes on macOSJeff Hostetler via GitGitGadget, Mar 24, 2022
  154. 24/27 t7527: test FSMonitor on case insensitive+preserving file systemJeff Hostetler via GitGitGadget, Mar 24, 2022
  155. 25/27 fsmonitor: on macOS also emit NFC spelling for NFD pathnameJeff Hostetler via GitGitGadget, Mar 24, 2022
  156. 26/27 t/lib-unicode-nfc-nfd: helper prereqs for testing unicode nfc/nfdJeff Hostetler via GitGitGadget, Mar 24, 2022
  157. Bagas SanjayaMar 25, 2022
  158. Derrick StoleeMar 25, 2022
  159. Jeff HostetlerMar 25, 2022
  160. 27/27 t7527: test Unicode NFC/NFD handling on MacOSJeff Hostetler via GitGitGadget, Mar 24, 2022
  161. Junio C HamanoMar 24, 2022
  162. 00/28 Builtin FSMonitor Part 3Jeff Hostetler via GitGitGadget, Apr 20, 2022
  163. 01/28 fsm-listen-win32: handle shortnamesJeff Hostetler via GitGitGadget, Apr 20, 2022
  164. 02/28 t7527: test FSMonitor on repos with Unicode root pathsJeff Hostetler via GitGitGadget, Apr 20, 2022
  165. 03/28 t/helper/fsmonitor-client: create stress testJeff Hostetler via GitGitGadget, Apr 20, 2022
  166. 04/28 fsmonitor-settings: bare repos are incompatible with FSMonitorJeff Hostetler via GitGitGadget, Apr 20, 2022
  167. 05/28 fsmonitor-settings: stub in Win32-specific incompatibility checkingJeff Hostetler via GitGitGadget, Apr 20, 2022
  168. 07/28 fsmonitor-settings: stub in macOS-specific incompatibility checkingJeff Hostetler via GitGitGadget, Apr 20, 2022
  169. 06/28 fsmonitor-settings: VFS for Git virtual repos are incompatibleJeff Hostetler via GitGitGadget, Apr 20, 2022
  170. 08/28 fsmonitor-settings: remote repos on macOS are incompatibleJeff Hostetler via GitGitGadget, Apr 20, 2022
  171. 09/28 fsmonitor-settings: remote repos on Windows are incompatibleJeff Hostetler via GitGitGadget, Apr 20, 2022
  172. 10/28 fsmonitor-settings: NTFS and FAT32 on MacOS are incompatibleJeff Hostetler via GitGitGadget, Apr 20, 2022
  173. 11/28 unpack-trees: initialize fsmonitor_has_run_once in o->resultJeff Hostetler via GitGitGadget, Apr 20, 2022
  174. 12/28 fsm-listen-darwin: ignore FSEvents caused by xattr changes on macOSJeff Hostetler via GitGitGadget, Apr 20, 2022
  175. 13/28 fsmonitor--daemon: cd out of worktree rootJeff Hostetler via GitGitGadget, Apr 20, 2022
  176. 14/28 fsmonitor--daemon: prepare for adding health threadJeff Hostetler via GitGitGadget, Apr 20, 2022
  177. 15/28 fsmonitor--daemon: rename listener thread related variablesJeff Hostetler via GitGitGadget, Apr 20, 2022
  178. 16/28 fsmonitor--daemon: stub in health threadJeff Hostetler via GitGitGadget, Apr 20, 2022
  179. 17/28 fsm-health-win32: add polling framework to monitor daemon healthJeff Hostetler via GitGitGadget, Apr 20, 2022
  180. 19/28 fsm-listen-darwin: shutdown daemon if worktree root is moved/renamedJeff Hostetler via GitGitGadget, Apr 20, 2022
  181. 23/28 fsmonitor: never set CE_FSMONITOR_VALID on submodulesJeff Hostetler via GitGitGadget, Apr 20, 2022
  182. Junio C HamanoApr 20, 2022
  183. Jeff HostetlerApr 22, 2022
  184. 22/28 t/perf/p7527: add perf test for builtin FSMonitorJeff Hostetler via GitGitGadget, Apr 20, 2022
  185. 26/28 t/lib-unicode-nfc-nfd: helper prereqs for testing unicode nfc/nfdJeff Hostetler via GitGitGadget, Apr 20, 2022
  186. 25/28 fsmonitor: on macOS also emit NFC spelling for NFD pathnameJeff Hostetler via GitGitGadget, Apr 20, 2022
  187. 27/28 t7527: test Unicode NFC/NFD handling on MacOSJeff Hostetler via GitGitGadget, Apr 20, 2022
  188. 20/28 fsmonitor: optimize processing of directory eventsJeff Hostetler via GitGitGadget, Apr 20, 2022
  189. 24/28 t7527: test FSMonitor on case insensitive+preserving file systemJeff Hostetler via GitGitGadget, Apr 20, 2022
  190. 21/28 t7527: FSMonitor tests for directory movesJeff Hostetler via GitGitGadget, Apr 20, 2022
  191. 18/28 fsm-health-win32: force shutdown daemon if worktree root movesJeff Hostetler via GitGitGadget, Apr 20, 2022
  192. 28/28 fsmonitor--daemon: allow --super-prefix argumentJeff Hostetler via GitGitGadget, Apr 20, 2022
  193. Junio C HamanoApr 21, 2022
  194. 00/28 Builtin FSMonitor Part 3Jeff Hostetler via GitGitGadget, Apr 22, 2022
  195. 03/28 t/helper/fsmonitor-client: create stress testJeff Hostetler via GitGitGadget, Apr 22, 2022
  196. 10/28 fsmonitor-settings: NTFS and FAT32 on MacOS are incompatibleJeff Hostetler via GitGitGadget, Apr 22, 2022
  197. 02/28 t7527: test FSMonitor on repos with Unicode root pathsJeff Hostetler via GitGitGadget, Apr 22, 2022
  198. 09/28 fsmonitor-settings: remote repos on Windows are incompatibleJeff Hostetler via GitGitGadget, Apr 22, 2022
  199. 05/28 fsmonitor-settings: stub in Win32-specific incompatibility checkingJeff Hostetler via GitGitGadget, Apr 22, 2022
  200. 12/28 fsm-listen-darwin: ignore FSEvents caused by xattr changes on macOSJeff Hostetler via GitGitGadget, Apr 22, 2022
  201. 08/28 fsmonitor-settings: remote repos on macOS are incompatibleJeff Hostetler via GitGitGadget, Apr 22, 2022
  202. 13/28 fsmonitor--daemon: cd out of worktree rootJeff Hostetler via GitGitGadget, Apr 22, 2022
  203. 16/28 fsmonitor--daemon: stub in health threadJeff Hostetler via GitGitGadget, Apr 22, 2022
  204. Johannes SchindelinMay 12, 2022
  205. Jeff HostetlerMay 17, 2022
  206. Johannes SchindelinMay 24, 2022
  207. 01/28 fsm-listen-win32: handle shortnamesJeff Hostetler via GitGitGadget, Apr 22, 2022
  208. Johannes SchindelinMay 12, 2022
  209. Jeff HostetlerMay 17, 2022
  210. 07/28 fsmonitor-settings: stub in macOS-specific incompatibility checkingJeff Hostetler via GitGitGadget, Apr 22, 2022
  211. 11/28 unpack-trees: initialize fsmonitor_has_run_once in o->resultJeff Hostetler via GitGitGadget, Apr 22, 2022
  212. 15/28 fsmonitor--daemon: rename listener thread related variablesJeff Hostetler via GitGitGadget, Apr 22, 2022
  213. 17/28 fsm-health-win32: add polling framework to monitor daemon healthJeff Hostetler via GitGitGadget, Apr 22, 2022
  214. 06/28 fsmonitor-settings: VFS for Git virtual repos are incompatibleJeff Hostetler via GitGitGadget, Apr 22, 2022
  215. 04/28 fsmonitor-settings: bare repos are incompatible with FSMonitorJeff Hostetler via GitGitGadget, Apr 22, 2022
  216. Johannes SchindelinMay 12, 2022
  217. 14/28 fsmonitor--daemon: prepare for adding health threadJeff Hostetler via GitGitGadget, Apr 22, 2022
  218. 28/28 fsmonitor--daemon: allow --super-prefix argumentJeff Hostetler via GitGitGadget, Apr 22, 2022
  219. 27/28 t7527: test Unicode NFC/NFD handling on MacOSJeff Hostetler via GitGitGadget, Apr 22, 2022
  220. 26/28 t/lib-unicode-nfc-nfd: helper prereqs for testing unicode nfc/nfdJeff Hostetler via GitGitGadget, Apr 22, 2022
  221. Johannes SchindelinMay 12, 2022
  222. Jeff HostetlerMay 17, 2022
  223. 25/28 fsmonitor: on macOS also emit NFC spelling for NFD pathnameJeff Hostetler via GitGitGadget, Apr 22, 2022
  224. 24/28 t7527: test FSMonitor on case insensitive+preserving file systemJeff Hostetler via GitGitGadget, Apr 22, 2022
  225. 23/28 fsmonitor: never set CE_FSMONITOR_VALID on submodulesJeff Hostetler via GitGitGadget, Apr 22, 2022
  226. Johannes SchindelinMay 12, 2022
  227. 22/28 t/perf/p7527: add perf test for builtin FSMonitorJeff Hostetler via GitGitGadget, Apr 22, 2022
  228. 21/28 t7527: FSMonitor tests for directory movesJeff Hostetler via GitGitGadget, Apr 22, 2022
  229. 20/28 fsmonitor: optimize processing of directory eventsJeff Hostetler via GitGitGadget, Apr 22, 2022
  230. Johannes SchindelinMay 12, 2022
  231. Jeff HostetlerMay 17, 2022
  232. Johannes SchindelinMay 24, 2022
  233. 19/28 fsm-listen-darwin: shutdown daemon if worktree root is moved/renamedJeff Hostetler via GitGitGadget, Apr 22, 2022
  234. 18/28 fsm-health-win32: force shutdown daemon if worktree root movesJeff Hostetler via GitGitGadget, Apr 22, 2022
  235. Johannes SchindelinMay 12, 2022
  236. 00/30 Builtin FSMonitor Part 3Jeff Hostetler via GitGitGadget, May 23, 2022
  237. 02/30 t7527: test FSMonitor on repos with Unicode root pathsJeff Hostetler via GitGitGadget, May 23, 2022
  238. 01/30 fsm-listen-win32: handle shortnamesJeff Hostetler via GitGitGadget, May 23, 2022
  239. 03/30 t/helper/fsmonitor-client: create stress testJeff Hostetler via GitGitGadget, May 23, 2022
  240. 04/30 fsmonitor-settings: bare repos are incompatible with FSMonitorJeff Hostetler via GitGitGadget, May 23, 2022
  241. 05/30 fsmonitor-settings: stub in Win32-specific incompatibility checkingJeff Hostetler via GitGitGadget, May 23, 2022
  242. 06/30 fsmonitor-settings: VFS for Git virtual repos are incompatibleJeff Hostetler via GitGitGadget, May 23, 2022
  243. 08/30 fsmonitor-settings: remote repos on macOS are incompatibleJeff Hostetler via GitGitGadget, May 23, 2022
  244. 09/30 fsmonitor-settings: remote repos on Windows are incompatibleJeff Hostetler via GitGitGadget, May 23, 2022
  245. 07/30 fsmonitor-settings: stub in macOS-specific incompatibility checkingJeff Hostetler via GitGitGadget, May 23, 2022
  246. 11/30 unpack-trees: initialize fsmonitor_has_run_once in o->resultJeff Hostetler via GitGitGadget, May 23, 2022
  247. 12/30 fsm-listen-darwin: ignore FSEvents caused by xattr changes on macOSJeff Hostetler via GitGitGadget, May 23, 2022
  248. 15/30 fsmonitor--daemon: rename listener thread related variablesJeff Hostetler via GitGitGadget, May 23, 2022
  249. 16/30 fsmonitor--daemon: stub in health threadJeff Hostetler via GitGitGadget, May 23, 2022
  250. 17/30 fsm-health-win32: add polling framework to monitor daemon healthJeff Hostetler via GitGitGadget, May 23, 2022
  251. 14/30 fsmonitor--daemon: prepare for adding health threadJeff Hostetler via GitGitGadget, May 23, 2022
  252. 13/30 fsmonitor--daemon: cd out of worktree rootJeff Hostetler via GitGitGadget, May 23, 2022
  253. 10/30 fsmonitor-settings: NTFS and FAT32 on MacOS are incompatibleJeff Hostetler via GitGitGadget, May 23, 2022
  254. 18/30 fsm-health-win32: force shutdown daemon if worktree root movesJeff Hostetler via GitGitGadget, May 23, 2022
  255. 21/30 t7527: FSMonitor tests for directory movesJeff Hostetler via GitGitGadget, May 23, 2022
  256. 22/30 t/perf/p7527: add perf test for builtin FSMonitorJeff Hostetler via GitGitGadget, May 23, 2022
  257. 24/30 t7527: test FSMonitor on case insensitive+preserving file systemJeff Hostetler via GitGitGadget, May 23, 2022
  258. 28/30 t7527: test Unicode NFC/NFD handling on MacOSJeff Hostetler via GitGitGadget, May 23, 2022
  259. 20/30 fsmonitor: optimize processing of directory eventsJeff Hostetler via GitGitGadget, May 23, 2022
  260. 26/30 t/helper/hexdump: add helper to print hexdump of stdinJeff Hostetler via GitGitGadget, May 23, 2022
  261. Junio C HamanoMay 23, 2022
  262. Johannes SchindelinMay 24, 2022
  263. Junio C HamanoMay 24, 2022
  264. Johannes SchindelinMay 25, 2022
  265. Jeff HostetlerMay 24, 2022
  266. Junio C HamanoMay 24, 2022
  267. Jeff HostetlerMay 25, 2022
  268. 19/30 fsm-listen-darwin: shutdown daemon if worktree root is moved/renamedJeff Hostetler via GitGitGadget, May 23, 2022
  269. 23/30 fsmonitor: never set CE_FSMONITOR_VALID on submodulesJeff Hostetler via GitGitGadget, May 23, 2022
  270. 29/30 fsmonitor--daemon: allow --super-prefix argumentJeff Hostetler via GitGitGadget, May 23, 2022
  271. 25/30 fsmonitor: on macOS also emit NFC spelling for NFD pathnameJeff Hostetler via GitGitGadget, May 23, 2022
  272. 27/30 t/lib-unicode-nfc-nfd: helper prereqs for testing unicode nfc/nfdJeff Hostetler via GitGitGadget, May 23, 2022
  273. Junio C HamanoMay 23, 2022
  274. Johannes SchindelinMay 24, 2022
  275. Jeff HostetlerMay 24, 2022
  276. 30/30 t7527: improve implicit shutdown testing in fsmonitor--daemonJeff Hostetler via GitGitGadget, May 23, 2022
  277. Johannes SchindelinMay 24, 2022
  278. Jeff HostetlerMay 24, 2022
  279. Johannes SchindelinMay 25, 2022
  280. 00/30 Builtin FSMonitor Part 3Jeff Hostetler via GitGitGadget, May 25, 2022
  281. 01/30 fsm-listen-win32: handle shortnamesJeff Hostetler via GitGitGadget, May 25, 2022
  282. 02/30 t7527: test FSMonitor on repos with Unicode root pathsJeff Hostetler via GitGitGadget, May 25, 2022
  283. 03/30 t/helper/fsmonitor-client: create stress testJeff Hostetler via GitGitGadget, May 25, 2022
  284. 04/30 fsmonitor-settings: bare repos are incompatible with FSMonitorJeff Hostetler via GitGitGadget, May 25, 2022
  285. 05/30 fsmonitor-settings: stub in Win32-specific incompatibility checkingJeff Hostetler via GitGitGadget, May 25, 2022
  286. 06/30 fsmonitor-settings: VFS for Git virtual repos are incompatibleJeff Hostetler via GitGitGadget, May 25, 2022
  287. 09/30 fsmonitor-settings: remote repos on Windows are incompatibleJeff Hostetler via GitGitGadget, May 25, 2022
  288. 08/30 fsmonitor-settings: remote repos on macOS are incompatibleJeff Hostetler via GitGitGadget, May 25, 2022
  289. 11/30 unpack-trees: initialize fsmonitor_has_run_once in o->resultJeff Hostetler via GitGitGadget, May 25, 2022
  290. 10/30 fsmonitor-settings: NTFS and FAT32 on MacOS are incompatibleJeff Hostetler via GitGitGadget, May 25, 2022
  291. 12/30 fsm-listen-darwin: ignore FSEvents caused by xattr changes on macOSJeff Hostetler via GitGitGadget, May 25, 2022
  292. 16/30 fsmonitor--daemon: stub in health threadJeff Hostetler via GitGitGadget, May 25, 2022
  293. 17/30 fsm-health-win32: add polling framework to monitor daemon healthJeff Hostetler via GitGitGadget, May 25, 2022
  294. 14/30 fsmonitor--daemon: prepare for adding health threadJeff Hostetler via GitGitGadget, May 25, 2022
  295. 15/30 fsmonitor--daemon: rename listener thread related variablesJeff Hostetler via GitGitGadget, May 25, 2022
  296. 13/30 fsmonitor--daemon: cd out of worktree rootJeff Hostetler via GitGitGadget, May 25, 2022
  297. 07/30 fsmonitor-settings: stub in macOS-specific incompatibility checkingJeff Hostetler via GitGitGadget, May 25, 2022
  298. 18/30 fsm-health-win32: force shutdown daemon if worktree root movesJeff Hostetler via GitGitGadget, May 25, 2022
  299. 21/30 t7527: FSMonitor tests for directory movesJeff Hostetler via GitGitGadget, May 25, 2022
  300. 20/30 fsmonitor: optimize processing of directory eventsJeff Hostetler via GitGitGadget, May 25, 2022
  301. 19/30 fsm-listen-darwin: shutdown daemon if worktree root is moved/renamedJeff Hostetler via GitGitGadget, May 25, 2022
  302. 22/30 t/perf/p7527: add perf test for builtin FSMonitorJeff Hostetler via GitGitGadget, May 25, 2022
  303. 23/30 fsmonitor: never set CE_FSMONITOR_VALID on submodulesJeff Hostetler via GitGitGadget, May 25, 2022
  304. 25/30 fsmonitor: on macOS also emit NFC spelling for NFD pathnameJeff Hostetler via GitGitGadget, May 25, 2022
  305. 24/30 t7527: test FSMonitor on case insensitive+preserving file systemJeff Hostetler via GitGitGadget, May 25, 2022
  306. 27/30 t/lib-unicode-nfc-nfd: helper prereqs for testing unicode nfc/nfdJeff Hostetler via GitGitGadget, May 25, 2022
  307. 26/30 t/helper/hexdump: add helper to print hexdump of stdinJeff Hostetler via GitGitGadget, May 25, 2022
  308. 28/30 t7527: test Unicode NFC/NFD handling on MacOSJeff Hostetler via GitGitGadget, May 25, 2022
  309. 30/30 t7527: improve implicit shutdown testing in fsmonitor--daemonJeff Hostetler via GitGitGadget, May 25, 2022
  310. 29/30 fsmonitor--daemon: allow --super-prefix argumentJeff Hostetler via GitGitGadget, May 25, 2022
  311. Junio C HamanoMay 25, 2022
  312. Jeff HostetlerMay 25, 2022
  313. 00/30 Builtin FSMonitor Part 3Jeff Hostetler via GitGitGadget, May 26, 2022
  314. 01/30 fsm-listen-win32: handle shortnamesJeff Hostetler via GitGitGadget, May 26, 2022
  315. 06/30 fsmonitor-settings: VFS for Git virtual repos are incompatibleJeff Hostetler via GitGitGadget, May 26, 2022
  316. 03/30 t/helper/fsmonitor-client: create stress testJeff Hostetler via GitGitGadget, May 26, 2022
  317. 02/30 t7527: test FSMonitor on repos with Unicode root pathsJeff Hostetler via GitGitGadget, May 26, 2022
  318. 04/30 fsmonitor-settings: bare repos are incompatible with FSMonitorJeff Hostetler via GitGitGadget, May 26, 2022
  319. 05/30 fsmonitor-settings: stub in Win32-specific incompatibility checkingJeff Hostetler via GitGitGadget, May 26, 2022
  320. 07/30 fsmonitor-settings: stub in macOS-specific incompatibility checkingJeff Hostetler via GitGitGadget, May 26, 2022
  321. 08/30 fsmonitor-settings: remote repos on macOS are incompatibleJeff Hostetler via GitGitGadget, May 26, 2022
  322. 09/30 fsmonitor-settings: remote repos on Windows are incompatibleJeff Hostetler via GitGitGadget, May 26, 2022
  323. 10/30 fsmonitor-settings: NTFS and FAT32 on MacOS are incompatibleJeff Hostetler via GitGitGadget, May 26, 2022
  324. 13/30 fsmonitor--daemon: cd out of worktree rootJeff Hostetler via GitGitGadget, May 26, 2022
  325. 11/30 unpack-trees: initialize fsmonitor_has_run_once in o->resultJeff Hostetler via GitGitGadget, May 26, 2022
  326. 12/30 fsm-listen-darwin: ignore FSEvents caused by xattr changes on macOSJeff Hostetler via GitGitGadget, May 26, 2022
  327. 15/30 fsmonitor--daemon: rename listener thread related variablesJeff Hostetler via GitGitGadget, May 26, 2022
  328. 14/30 fsmonitor--daemon: prepare for adding health threadJeff Hostetler via GitGitGadget, May 26, 2022
  329. 17/30 fsm-health-win32: add polling framework to monitor daemon healthJeff Hostetler via GitGitGadget, May 26, 2022
  330. 21/30 t7527: FSMonitor tests for directory movesJeff Hostetler via GitGitGadget, May 26, 2022
  331. 20/30 fsmonitor: optimize processing of directory eventsJeff Hostetler via GitGitGadget, May 26, 2022
  332. 16/30 fsmonitor--daemon: stub in health threadJeff Hostetler via GitGitGadget, May 26, 2022
  333. 22/30 t/perf/p7527: add perf test for builtin FSMonitorJeff Hostetler via GitGitGadget, May 26, 2022
  334. 23/30 fsmonitor: never set CE_FSMONITOR_VALID on submodulesJeff Hostetler via GitGitGadget, May 26, 2022
  335. 24/30 t7527: test FSMonitor on case insensitive+preserving file systemJeff Hostetler via GitGitGadget, May 26, 2022
  336. 19/30 fsm-listen-darwin: shutdown daemon if worktree root is moved/renamedJeff Hostetler via GitGitGadget, May 26, 2022
  337. 18/30 fsm-health-win32: force shutdown daemon if worktree root movesJeff Hostetler via GitGitGadget, May 26, 2022
  338. 25/30 fsmonitor: on macOS also emit NFC spelling for NFD pathnameJeff Hostetler via GitGitGadget, May 26, 2022
  339. 26/30 t/helper/hexdump: add helper to print hexdump of stdinJeff Hostetler via GitGitGadget, May 26, 2022
  340. 30/30 t7527: improve implicit shutdown testing in fsmonitor--daemonJeff Hostetler via GitGitGadget, May 26, 2022
  341. 28/30 t7527: test Unicode NFC/NFD handling on MacOSJeff Hostetler via GitGitGadget, May 26, 2022
  342. 29/30 fsmonitor--daemon: allow --super-prefix argumentJeff Hostetler via GitGitGadget, May 26, 2022
  343. 27/30 t/lib-unicode-nfc-nfd: helper prereqs for testing unicode nfc/nfdJeff Hostetler via GitGitGadget, May 26, 2022
  344. Johannes SchindelinJun 2, 2022
  345. Torsten B��gershausenMar 28, 2022

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.