Browse Source

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()
maint
Junio C Hamano 7 years ago
parent
commit
a500a9c415
  1. 2
      perl/Git.pm

2
perl/Git.pm

@ -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…
Cancel
Save