Skip to content

Commit a500a9c

Browse files
committed
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()
2 parents 00bb99c + 51db271 commit a500a9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

perl/Git.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,7 @@ sub get_record {
554554
my ($fh, $rs) = @_;
555555
local $/ = $rs;
556556
my $rec = <$fh>;
557-
chomp $rec if defined $rs;
557+
chomp $rec if defined $rec;
558558
$rec;
559559
}
560560

0 commit comments

Comments
 (0)