fsmonitor: preserve utf8 filenames in fsmonitor-watchman log
[gitweb.git] / t / t7519 / fsmonitor-watchman
index 51330f8b3d73d513856747264342cefac32ba802..a3e30bf54fc2f1bf4fbb3ce48fa13e33b2e6b346 100755 (executable)
@@ -129,6 +129,7 @@ sub launch_watchman {
            "Falling back to scanning...\n" if $o->{error};
 
        open ($fh, ">", ".git/watchman-output.out");
+       binmode $fh, ":utf8";
        print $fh @{$o->{files}};
        close $fh;