A folder with an unreadable .git entry now gets a clear refusal for file sync up front.
What's wrong with this entry?
If a folder has a .git entry that is not a readable git checkout, such as a link or something git did not write, file sync is now refused up front with a message saying so, rather than being offered and failing later.
- The refusal is recorded with the reason
folder_is_repository. - Unconditional within the file-sync offer path.
File sync is not offered for this folder: it has a .git entry that could not be read as a git checkout (a link, or something git did not write).
Strings lifted out of the shipped bundle, so the claim above can be checked against them.