mirror of
https://github.com/git/git.git
synced 2024-11-23 18:05:29 +08:00
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>
This commit is contained in:
parent
2a387b17c5
commit
614a718a79
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user