Re: git config -> "fatal: bad config file"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]