RE: Git fsmonitor
- From
- Frédéric Landry <fred.landry@pqm.net>
- Date
- Apr 5, 2023, 12:15 UTC
- Message-ID
- <YT2PR01MB9874CFFE2EA5F9E635D59993F0909@YT2PR01MB9874.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.