Skip to content

Commit 1cff9c8

Browse files
virtualddscho
authored andcommitted
cvsexportcommit: force crlf translation
When using cvsnt + msys + git, it seems like the output of cvs status had \r\n in it, and caused the command to fail. This fixes that. Signed-off-by: Dustin Spicuzza <[email protected]>
1 parent f0badda commit 1cff9c8

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)