fsmonitor: simplify determining the git worktree under Windows
commit1fff303fc2b31d5005f38f55f38c4e8521da5a93
authorBen Peart <benpeart@microsoft.com>
Fri, 10 Nov 2017 21:03:11 +0000 (10 16:03 -0500)
committerJunio C Hamano <gitster@pobox.com>
Mon, 13 Nov 2017 01:02:20 +0000 (13 10:02 +0900)
treed09834e5166574c82cfac644109614e9a6a80c1f
parent3bd28eb29912801481b293691039b05caebf13a3
fsmonitor: simplify determining the git worktree under Windows

Simplify and speed up the process of finding the git worktree when
running on Windows by keeping it in perl and avoiding spawning helper
processes.

Signed-off-by: Ben Peart <benpeart@microsoft.com>
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t7519/fsmonitor-watchman
templates/hooks--fsmonitor-watchman.sample