зеркало из https://github.com/microsoft/git.git
Merge branch 'ab/git-svn-get-record-typofix'
"git svn" had a minor thinko/typo which has been fixed. * ab/git-svn-get-record-typofix: git-svn: avoid warning on undef readline()
This commit is contained in:
Коммит
a500a9c415
|
@ -554,7 +554,7 @@ sub get_record {
|
|||
my ($fh, $rs) = @_;
|
||||
local $/ = $rs;
|
||||
my $rec = <$fh>;
|
||||
chomp $rec if defined $rs;
|
||||
chomp $rec if defined $rec;
|
||||
$rec;
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче