Re: [PATCH v4 6/6] fsmonitor: add a sample query-fsmonitor hook script for Watchman

2017-06-07 Thread Ævar Arnfjörð Bjarmason
On Thu, Jun 1, 2017 at 5:51 PM, Ben Peart wrote: > +if [ $1 -eq 1 ] Tiny nit: Needs quoting: $ .git/hooks/query-fsmonitor .git/hooks/query-fsmonitor: 15: [: -eq: unexpected operator

[PATCH v4 6/6] fsmonitor: add a sample query-fsmonitor hook script for Watchman

2017-06-01 Thread Ben Peart
This hook script integrates the new fsmonitor capabilities of git with the cross platform Watchman file watching service. To use the script: Download and install Watchman from https://facebook.github.io/watchman/ and instruct Watchman to watch your working directory for changes ('watchman watch-pr