diff options
| author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2020-09-21 12:39:53 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2020-09-21 12:37:38 -0700 |
| commit | 2388541a77540b8e2acfcf77904515ebb65ffcc5 (patch) | |
| tree | 271b1a46959c11f30c75c976895832cc3c4716fb /contrib/mw-to-git/git-remote-mediawiki.perl | |
| parent | remote-mediawiki tests: replace deprecated Perl construct (diff) | |
| download | git-2388541a77540b8e2acfcf77904515ebb65ffcc5.tar.gz git-2388541a77540b8e2acfcf77904515ebb65ffcc5.zip | |
remote-mediawiki tests: use inline PerlIO for readability
Replace the use of the "open" pragma with a three-arg open in the
places that actually care about UTF-8, while leaving those that
don't (the config parsing).
Unlike the previous "encoding" pragma change this isn't needed for
compatibility with anything. I just think it's easier to read code
that has localized effects than code that changes global settings.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/mw-to-git/git-remote-mediawiki.perl')
0 files changed, 0 insertions, 0 deletions
