mirror of
https://github.com/git/git.git
synced 2024-05-31 03:46:12 +02:00
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:
commit
a500a9c415
|
@ -554,7 +554,7 @@ sub get_record {
|
||||||
my ($fh, $rs) = @_;
|
my ($fh, $rs) = @_;
|
||||||
local $/ = $rs;
|
local $/ = $rs;
|
||||||
my $rec = <$fh>;
|
my $rec = <$fh>;
|
||||||
chomp $rec if defined $rs;
|
chomp $rec if defined $rec;
|
||||||
$rec;
|
$rec;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue