p>

<p>use strict; use warnings; use IPC::Open2;</p>

<p># An example hook script to integrate Watchman # (<a href="https://facebook.github.io/watchman">facebook.github.io/watchman</a>/) with git to speed up detecting # new and modified files. # # The hook is passed a version (currently 2) and last update token # formatted as a string and outputs to stdout a new update token and # all files that have been modified since the update token. Paths must # be relative to the root of the working tree and separated