diff options
author | Junio C Hamano <gitster@pobox.com> | 2018-05-08 15:59:28 +0900 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-05-08 15:59:28 +0900 |
commit | a500a9c4157495593504f5e59138be5a5d0a5590 (patch) | |
tree | f3f2edc7243f2d17a080c26df76ec2eec36fc74e | |
parent | Merge branch 'tb/config-default' (diff) | |
parent | git-svn: avoid warning on undef readline() (diff) | |
download | tgif-a500a9c4157495593504f5e59138be5a5d0a5590.tar.xz |
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()
-rw-r--r-- | perl/Git.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl/Git.pm b/perl/Git.pm index 16ebcc612c..d856930b2e 100644 --- a/perl/Git.pm +++ b/perl/Git.pm @@ -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; } |