# [PATCH] RelNotes: fsmonitor: add a pointer to man page and the word itself

3 messages from 2018-01-17 to 2018-01-17. Participants: Yasushi SHOJI, Ben Peart, Junio C Hamano.
Thread: https://gitlist.dev/t/47621

## Yasushi SHOJI, 2018-01-17 05:08

Subject: [PATCH] RelNotes: fsmonitor: add a pointer to man page and the word itself
Message-ID: <20180117050857.10480-1-yashi@atmark-techno.com>
URL: https://gitlist.dev/e/20180117050857.10480-1-yashi%40atmark-techno.com

```
Add a pointer to git-update-index(1) and a bit more detail about
fsmonitor and watchman to help people following up the new feature.
---

Hi Ben and Junio,

Wouldn't it be nice to tell the world a bit more about "file system
monitor" we now support?  I think that "git status" and "watchman"
might not ring the bell for some, but adding a word "file system
monitor" may.

I know most of repos don't need fsmonitor but it's a cool feature to
have it. ;-)

WDYT?


 Documentation/RelNotes/2.16.0.txt | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/Documentation/RelNotes/2.16.0.txt b/Documentation/RelNotes/2.16.0.txt
index 919f3eb3e..0c81c5915 100644
--- a/Documentation/RelNotes/2.16.0.txt
+++ b/Documentation/RelNotes/2.16.0.txt
@@ -62,8 +62,11 @@ UI, Workflows & Features
  * The SubmittingPatches document has been converted to produce an
    HTML version via AsciiDoc/Asciidoctor.

- * We learned to talk to watchman to speed up "git status" and other
-   operations that need to see which paths have been modified.
+ * We learned to optionally talk to a file system monitor via new
+   fsmonitor extension to speed up "git status" and other operations
+   that need to see which paths have been modified.  Currently we only
+   support "watchman".  See File System Monitor section of
+   git-update-index(1) for more detail.

  * The "diff" family of commands learned to ignore differences in
    carriage return at the end of line.
--
2.15.1

```

## Ben Peart, 2018-01-17 17:26

Subject: RE: [PATCH] RelNotes: fsmonitor: add a pointer to man page and the word itself
Message-ID: <DM5PR2101MB090243C1D9F5DA87565D7DEAF4E90@DM5PR2101MB0902.namprd21.prod.outlook.com>
URL: https://gitlist.dev/e/DM5PR2101MB090243C1D9F5DA87565D7DEAF4E90%40DM5PR2101MB0902.namprd21.prod.outlook.com
In-Reply-To: <20180117050857.10480-1-yashi@atmark-techno.com>

```
> -----Original Message-----
> From: Yasushi SHOJI [mailto:yashi@atmark-techno.com]
> Sent: Wednesday, January 17, 2018 12:09 AM
> To: Ben Peart <Ben.Peart@microsoft.com>; gitster@pobox.com
> Cc: git@vger.kernel.org
> Subject: [PATCH] RelNotes: fsmonitor: add a pointer to man page and the
> word itself
> 
> Add a pointer to git-update-index(1) and a bit more detail about fsmonitor
> and watchman to help people following up the new feature.
> ---
> 
> Hi Ben and Junio,
> 
> Wouldn't it be nice to tell the world a bit more about "file system monitor"
> we now support?  I think that "git status" and "watchman"
> might not ring the bell for some, but adding a word "file system monitor"
> may.
> 

Thanks for the call out!  It would be great if everyone who has larger repos and experiencing slower command performance could learn about the new file system monitor support.  I'm not sure if editing the release notes would be enough to do that or not. 😊  It's important to note that the support for file system monitors in git is generic - any file system monitor can be integrated with the proper hook/script.  We just provided a Perl script to integrate with Watchman as a usable sample as Watchman is already available on several platforms.

> I know most of repos don't need fsmonitor but it's a cool feature to have it. ;-
> )
> 
> WDYT?
> 
> 
>  Documentation/RelNotes/2.16.0.txt | 7 +++++--
>  1 file changed, 5 insertions(+), 2 deletions(-)
> 
> diff --git a/Documentation/RelNotes/2.16.0.txt
> b/Documentation/RelNotes/2.16.0.txt
> index 919f3eb3e..0c81c5915 100644
> --- a/Documentation/RelNotes/2.16.0.txt
> +++ b/Documentation/RelNotes/2.16.0.txt
> @@ -62,8 +62,11 @@ UI, Workflows & Features
>   * The SubmittingPatches document has been converted to produce an
>     HTML version via AsciiDoc/Asciidoctor.
> 
> - * We learned to talk to watchman to speed up "git status" and other
> -   operations that need to see which paths have been modified.
> + * We learned to optionally talk to a file system monitor via new
> +   fsmonitor extension to speed up "git status" and other operations
> +   that need to see which paths have been modified.  Currently we only
> +   support "watchman".  See File System Monitor section of
> +   git-update-index(1) for more detail.
> 
>   * The "diff" family of commands learned to ignore differences in
>     carriage return at the end of line.
> --
> 2.15.1

```

## Junio C Hamano, 2018-01-17 18:27

Subject: Re: [PATCH] RelNotes: fsmonitor: add a pointer to man page and the word itself
Message-ID: <xmqqo9lss5mb.fsf@gitster.mtv.corp.google.com>
URL: https://gitlist.dev/e/xmqqo9lss5mb.fsf%40gitster.mtv.corp.google.com
In-Reply-To: <DM5PR2101MB090243C1D9F5DA87565D7DEAF4E90@DM5PR2101MB0902.namprd21.prod.outlook.com>

```
Ben Peart <Ben.Peart@microsoft.com> writes:

> It's important to note that the support for file system monitors
> in git is generic - any file system monitor can be integrated with
> the proper hook/script.  We just provided a Perl script to
> integrate with Watchman as a usable sample as Watchman is already
> available on several platforms.

Mentioning only "FS monitor" is insufficient (it would merely
frustrate those with FS monitor that is not watchman, after they
waste more time to find out that we only do watchman right now).
Mentioning only "Watchman" *is* sufficient, though.

Mentioning both would be ideal, i.e. e.g. "We now have a generic
mechanism to talk to FS monitors to optimize checks of working tree
files, and this version of Git can talk to Watchman using the
mechanism".  And that is what Yashi's suggestion did, if I am not
mistaken.



```
