Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jgit-dev] UTF-8 byte order marker in .git/config

jgit currently can't process .git/config files which start with an UTF-8
byte order marker (EF BB BF). CGit can handle such files.

Caused by: org.eclipse.jgit.errors.ConfigInvalidException: Cannot read
file d:\repo\.git\config
at
org.eclipse.jgit.storage.file.FileBasedConfig.load(FileBasedConfig.java:156)
at
org.eclipse.jgit.storage.file.FileRepository.loadRepoConfig(FileRepository.java:224)
at
org.eclipse.jgit.storage.file.FileRepository.<init>(FileRepository.java:169)

-Marc


Back to the top