Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'ab/git-svn-get-record-typofix'
author
Junio C Hamano
<gitster@pobox.com>
Tue, 8 May 2018 06:59:28 +0000
(15:59 +0900)
committer
Junio C Hamano
<gitster@pobox.com>
Tue, 8 May 2018 06:59:28 +0000
(15:59 +0900)
"git svn" had a minor thinko/typo which has been fixed.
* ab/git-svn-get-record-typofix:
git-svn: avoid warning on undef readline()
perl/Git.pm
patch
|
blob
|
history
raw
(from parent 1:
00bb99c
)
diff --git
a/perl/Git.pm
b/perl/Git.pm
index 16ebcc612ce4acb4fba6511d5b388184934cb22a..d856930b2e5f31bb7b1e7aef46e8e056068bb431 100644
(file)
--- 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 $r
s
;
+ chomp $rec if defined $r
ec
;
$rec;
}