On Aug 14, 2009, at 10:18 AM, Michael J Gruber wrote:
git needs to read the file because the editor could be configured there! The only option would be to make git config -e continue past that error.
Syntax errors in .git/config could lead to warnings. Since the file is primarily line-oriented anyways (except for groups), recovery should be easy.
Also, you could have git-config -e edit a temporary file, check the file for errors after editing and then move it to .git/config.
-- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html