This project is read-only.

Configuration file can't be read issue

Aug 31, 2012 at 11:16 AM
Edited Aug 31, 2012 at 11:33 AM


At some point I issued git tf pull --rebase --deep and it gave me this error:

git-tf: Repository config file <repo-path>\.git\config invalid Cannot read file <repo-path>\.git\config

Config is in a good state, git clients work well with it, I haven't changed it from previous "git tf pull".

Config file attributes are clear, encoding is UTF8. 

What can cause this error?


-- obfuscated config file


 repositoryformatversion = 0

filemode = false

logallrefupdates = true

[git-tf "server"]

collection = http://<server>

serverpath = <path>


depth = 1

file-format-version = 1

[remote "trunk-depot"]

url = file:///z:/

fetch = +refs/heads/*:refs/remotes/trunk-depot/*

[branch "master"]

remote = trunk-depot

merge = refs/heads/master


wmstate = zoomed

geometry = 950x427+175+175 189 192

Aug 31, 2012 at 11:49 AM

Problem was in config file encoding.

Proper one is ANSI & EOL = Unix