Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
fsmonitor: preserve utf8 filenames in fsmonitor-watchman log
author
Ben Peart
<benpeart@microsoft.com>
Wed, 4 Oct 2017 12:33:39 +0000
(08:33 -0400)
committer
Junio C Hamano
<gitster@pobox.com>
Thu, 5 Oct 2017 01:12:35 +0000
(10:12 +0900)
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>
t/t7519/fsmonitor-watchman
patch
|
blob
|
history
raw
|
patch
| inline |
side by side
(parent:
2a387b1
)
diff --git
a/t/t7519/fsmonitor-watchman
b/t/t7519/fsmonitor-watchman
index 51330f8b3d73d513856747264342cefac32ba802..a3e30bf54fc2f1bf4fbb3ce48fa13e33b2e6b346 100755
(executable)
--- a/
t/t7519/fsmonitor-watchman
+++ b/
t/t7519/fsmonitor-watchman
@@
-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;