mirror of
https://github.com/git/git.git
synced 2026-01-19 07:04:49 +00:00
Merge pull request #938 from virtuald/patch-1
git-cvsexportcommit.perl: Force crlf translation
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user