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 <dustin@virtualroadside.com>
  • Loading branch information
virtuald authored and jamill committed Sep 10, 2018
1 parent 0d848d6 commit c0d8b81
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions git-cvsexportcommit.perl
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 c0d8b81

Please sign in to comment.