config.c: Tolerate UTF8 BOM at the beginning of config file
commitde056402fd90dbb1dc47756ef7cbcc9d230a5eb8
authorPetr Baudis <pasky@suse.cz>
Wed, 1 Oct 2008 20:13:02 +0000 (1 22:13 +0200)
committerShawn O. Pearce <spearce@spearce.org>
Fri, 3 Oct 2008 00:19:03 +0000 (2 17:19 -0700)
tree39811b65bf3848c685eb3abfbe5a1a6aa2c3f078
parent25dfd171d646c38f9344d8e3d8ae0fdf179dd281
config.c: Tolerate UTF8 BOM at the beginning of config file

Unfortunately, the abomination of Windows Notepad likes to scatted
non-sensical UTF8 BOM marks across text files it edits. This is
especially troublesome when editing the Git configuration file,
and it does not appear to be particularly harmful to teach Git
to deal with this poo in the configfile.

Signed-off-by: Petr Baudis <petr.baudis@novartis.com>
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
config.c