Skip to content

Commit b5fb62b

Browse files
committed
Merge branch 'ds/cvsexportcommit-force-text'
"git cvsexportcommit" running on msys did not expect cvsnt showed "cvs status" output with CRLF line endings. * ds/cvsexportcommit-force-text: cvsexportcommit: force crlf translation
2 parents 6f3d93f + 1ac8d36 commit b5fb62b

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)