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) = @_;
|
||||
local $/ = $rs;
|
||||
my $rec = <$fh>;
|
||||
chomp $rec if defined $rs;
|
||||
chomp $rec if defined $rec;
|
||||
$rec;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user