fsmonitor: preserve utf8 filenames in fsmonitor-watchman log

Update the test fsmonitor-watchman integration script to properly preserve utf8 filenames when outputting the .git/watchman-output.out log file. Signed-off-by: Ben Peart <benpeart@microsoft.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Ben Peart committed Oct 4, 2017 at 08:33 UTC 614a718a797e04fb037b25371896f910e464b671
1 file changed +1
t/t7519/fsmonitor-watchman
+1
@@ -129,6 +129,7 @@ sub launch_watchman {
129 "Falling back to scanning...\n" if $o->{error};
130
131 open ($fh, ">", ".git/watchman-output.out");
132 + binmode $fh, ":utf8";
133 print $fh @{$o->{files}};
134 close $fh;
135