[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[List Home]
[jgit-dev] UTF-8 byte order marker in .git/config
|
- From: Marc Strapetz <marc.strapetz@xxxxxxxxxxx>
- Date: Wed, 30 May 2012 15:53:04 +0200
- Delivered-to: jgit-dev@eclipse.org
- User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20120428 Thunderbird/12.0.1
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