diff options
author | David Golden <dagolden@cpan.org> | 2013-05-29 15:50:55 -0400 |
---|---|---|
committer | David Golden <dagolden@cpan.org> | 2013-05-29 15:50:55 -0400 |
commit | b61d97357007c35040f851aa4c7b399fc3c83978 (patch) | |
tree | 150d0d939f1db7c7a1b6aba8c64893262b07a1c0 /Porting/git-deltatool | |
parent | 9faf471aadb0009c0def1e2e9ab174082632af3b (diff) | |
download | perl-b61d97357007c35040f851aa4c7b399fc3c83978.tar.gz |
git-deltatool: fix problem reading changed commit message
Diffstat (limited to 'Porting/git-deltatool')
-rw-r--r-- | Porting/git-deltatool | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Porting/git-deltatool b/Porting/git-deltatool index 1458989299..82bea57802 100644 --- a/Porting/git-deltatool +++ b/Porting/git-deltatool @@ -228,8 +228,7 @@ sub edit_text { else { warn("No VISUAL or EDITOR defined"); } - $tempfh->seek(0,0); - return do { local $/; <$tempfh> }; + return do { local (@ARGV,$/) = "$tempfh"; <> }; } sub find_commits { |