summaryrefslogtreecommitdiff
path: root/bisect.c
diff options
context:
space:
mode:
authorLibravatar Alex Vandiver <alexmv@dropbox.com>2017-10-27 16:26:34 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-10-30 11:45:51 +0900
commit11cf33bec62512f2c3f0bdcfdaa41e31e9b0c3e8 (patch)
treecdac40433e00089d77b763dec26033b82348d0cb /bisect.c
parentfsmonitor: preserve utf8 filenames in fsmonitor-watchman log (diff)
downloadtgif-11cf33bec62512f2c3f0bdcfdaa41e31e9b0c3e8.tar.xz
fsmonitor: set the PWD to the top of the working tree
The fsmonitor command inherits the PWD of its caller, which may be anywhere in the working copy. This makes is difficult for the fsmonitor command to operate on the whole repository. Specifically, for the watchman integration, this causes each subdirectory to get its own watch entry. Set the CWD to the top of the working directory, for consistency. Signed-off-by: Alex Vandiver <alexmv@dropbox.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'bisect.c')
0 files changed, 0 insertions, 0 deletions