On Thu, May 5, 2011 at 5:47 AM, Konstantin Khomoutov < [email protected]> wrote:
> On Thu, 5 May 2011 02:23:32 -0700 (PDT) > Thomas Ferris Nicolaisen <[email protected]> wrote: > > > That is not an error message, that's the config command. > > > > Maybe you pasted the wrong line? > The error message is in the message's subject. > > Not that I understand why it happens anyway. > --global is meant to modify ~/.gitconfig and ~ is supposed to be > writable. > > On the other hand, googing for this error messages suggests that Git > should actually show *why* it failed to lock the config file, decoding > the errno of a relevant syscall (much like perror() works). > > If you're on linux, you might be able to figure out what's going on with minimal pain via strace, dtruss on OSX. I don't know about windows. Have you checked the permissions on the file? -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/git-users?hl=en.
