Skip to content

Commit

Permalink
Merge branch 'ds/cvsexportcommit-force-text'
Browse files Browse the repository at this point in the history
"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
  • Loading branch information
gitster committed May 19, 2019
2 parents 6f3d93f + 1ac8d36 commit b5fb62b
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 b5fb62b

Please sign in to comment.