HomeSoftware Heritage

config: disregard UTF-8 BOM when reading file

Description

config: disregard UTF-8 BOM when reading file

Previously, reading a config file that started with an UTF-8 BOM would
die with an error. This was originally reported to hg-git, where we
use Config.from_file() for reading .gitmodules.

https://foss.heptapod.net/mercurial/hg-git/-/issues/354

Details

Provenance
Dan Villiom Podlaski Christiansen <danchr@gmail.com>Authored on May 28 2021, 3:50 PM
ardumontPushed on Sep 27 2021, 5:34 PM
Parents
rPPDW5f58e5bf8515: Start on 0.20.24
Branches
Unknown
Tags
Unknown

Event Timeline