Skip to content

Commit

Permalink
cvsexportcommit: force crlf translation
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
virtuald authored and Git for Windows Build Agent committed Nov 14, 2016
1 parent 96de488 commit 764b974
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions git-cvsexportcommit.perl
Original file line number Diff line number Diff line change
Expand Up @@ -431,6 +431,7 @@ END
sub safe_pipe_capture {
my @output;
if (my $pid = open my $child, '-|') {
binmode($child, ":crlf");
@output = (<$child>);
close $child or die join(' ',@_).": $! $?";
} else {
Expand Down

0 comments on commit 764b974

Please sign in to comment.