]> git.ipfire.org Git - thirdparty/git.git/commit - git-svn.perl
git-svn: reduce scope of input record separator change
authorEric Wong <e@80x24.org>
Fri, 14 Oct 2016 00:27:53 +0000 (00:27 +0000)
committerEric Wong <e@80x24.org>
Fri, 14 Oct 2016 01:36:05 +0000 (01:36 +0000)
commitb26098fc2f76131f4258d800e0892e87f9138331
tree5e594a70e499b0b18f02f7ff887fa2b60fed713f
parent3cdd5d19178a54d2e51b5098d43b57571241d0ab
git-svn: reduce scope of input record separator change

Reducing the scope of where we change the record separator ($/)
avoids bugs in calls which rely on the input record separator
further down, such as the 'chomp' usage in command_oneline.

This is necessary for a future change to git-svn, but exists in
Git.pm since it seems useful for gitweb and our other Perl
scripts, too.

Signed-off-by: Eric Wong <e@80x24.org>
git-svn.perl
perl/Git.pm
perl/Git/SVN/Editor.pm
perl/Git/SVN/Fetcher.pm