Skip to content

Commit b0cd953

Browse files
author
Git for Windows Build Agent
committed
Merge pull request #938 from virtuald/patch-1
git-cvsexportcommit.perl: Force crlf translation
2 parents 35b3af8 + f23a7da commit b0cd953

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

git-cvsexportcommit.perl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -431,6 +431,7 @@ END
431431
sub safe_pipe_capture {
432432
my @output;
433433
if (my $pid = open my $child, '-|') {
434+
binmode($child, ":crlf");
434435
@output = (<$child>);
435436
close $child or die join(' ',@_).": $! $?";
436437
} else {

0 commit comments

Comments
 (0)