Skip to content

Commit

Permalink
Merge branch 'ab/git-svn-get-record-typofix'
Browse files Browse the repository at this point in the history
"git svn" had a minor thinko/typo which has been fixed.

* ab/git-svn-get-record-typofix:
  git-svn: avoid warning on undef readline()
  • Loading branch information
gitster committed May 8, 2018
2 parents 00bb99c + 51db271 commit a500a9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion perl/Git.pm
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit a500a9c

Please sign in to comment.