# Git fsmonitor

3 messages from 2023-04-04 to 2023-04-05. Participants: Frédéric Landry, Christian Couder.
Thread: https://gitlist.dev/t/59537

## Frédéric Landry, 2023-04-04 14:10

Subject: Git fsmonitor
Message-ID: <YT2PR01MB98749C01D9FE7D040F80A51DF0939@YT2PR01MB9874.CANPRD01.PROD.OUTLOOK.COM>
URL: https://gitlist.dev/e/YT2PR01MB98749C01D9FE7D040F80A51DF0939%40YT2PR01MB9874.CANPRD01.PROD.OUTLOOK.COM
In-Reply-To: <YT2PR01MB98744AB0A168B729E89D57AFF0939@YT2PR01MB9874.CANPRD01.PROD.OUTLOOK.COM>

```
Hi,

I could not find details about which platforms are supported for the fsmonitor feature. I am running debian 10 servers and git-2.4.0 and I am getting:

fatal: fsmonitor--daemon not supported on this platform

Thanks in advance.

Fred

```

## Christian Couder, 2023-04-04 20:22

Subject: Re: Git fsmonitor
Message-ID: <CAP8UFD1KCCqOFQ86Q4Sg4x0KYrO4B1dRyJKih74S61JsTGim7Q@mail.gmail.com>
URL: https://gitlist.dev/e/CAP8UFD1KCCqOFQ86Q4Sg4x0KYrO4B1dRyJKih74S61JsTGim7Q%40mail.gmail.com
In-Reply-To: <YT2PR01MB98749C01D9FE7D040F80A51DF0939@YT2PR01MB9874.CANPRD01.PROD.OUTLOOK.COM>

```
Hi,

On Tue, Apr 4, 2023 at 5:57 PM Frédéric Landry <fred.landry@pqm.net> wrote:
>
> Hi,
>
> I could not find details about which platforms are supported for the fsmonitor feature.

The doc about core.fsmonitor says:

"The built-in file system monitor is currently available only on a
limited set of supported platforms. Currently, this includes Windows
and MacOS."

You can still configure a hook instead of the built-in system monitor
to get a similar feature on Linux. For example the githooks doc has a
"fsmonitor-watchman" section to use
https://facebook.github.io/watchman/ which works on Linux using
inotify.

> I am running debian 10 servers and git-2.4.0 and I am getting:

Git 2.4.0 from 2015 or Git 2.40.0 from 2023?

Best,
Christian.

```

## Frédéric Landry, 2023-04-05 12:15

Subject: RE: Git fsmonitor
Message-ID: <YT2PR01MB9874CFFE2EA5F9E635D59993F0909@YT2PR01MB9874.CANPRD01.PROD.OUTLOOK.COM>
URL: https://gitlist.dev/e/YT2PR01MB9874CFFE2EA5F9E635D59993F0909%40YT2PR01MB9874.CANPRD01.PROD.OUTLOOK.COM
In-Reply-To: <CAP8UFD1KCCqOFQ86Q4Sg4x0KYrO4B1dRyJKih74S61JsTGim7Q@mail.gmail.com>

```
Hi,

Thanks for your reply! I did not build the doc, I should have ! sorry about that.

Watchman looks perfect! I will try that.

Oh and yes, I meant 2.40.

Have a great day

 

-----Original Message-----
From: Christian Couder <christian.couder@gmail.com> 
Sent: April 4, 2023 4:22 PM
To: Frédéric Landry <fred.landry@pqm.net>
Cc: git@vger.kernel.org
Subject: Re: Git fsmonitor

Hi,

On Tue, Apr 4, 2023 at 5:57 PM Frédéric Landry <fred.landry@pqm.net> wrote:
>
> Hi,
>
> I could not find details about which platforms are supported for the fsmonitor feature.

The doc about core.fsmonitor says:

"The built-in file system monitor is currently available only on a limited set of supported platforms. Currently, this includes Windows and MacOS."

You can still configure a hook instead of the built-in system monitor to get a similar feature on Linux. For example the githooks doc has a "fsmonitor-watchman" section to use https://facebook.github.io/watchman/ which works on Linux using inotify.

> I am running debian 10 servers and git-2.4.0 and I am getting:

Git 2.4.0 from 2015 or Git 2.40.0 from 2023?

Best,
Christian.

```
