[git-users] Re: could not lock file gitconfig: permission denied

2012-08-09 Thread coccinelle
Yes, I did.
It seems to be a problem with git GUI (git-gui version 0.16). On bash it is 
working, but not using the GUI. It is not only a warning message, but the 
commit doesn't take place.
I'll try a different GUI.

I'm somehow fixed to make GUI working, since I won't convince my collegues 
to use any version control if there is no GUI...

-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/git-users/-/DR34FmZvvskJ.
To post to this group, send email to git-users@googlegroups.com.
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.



[git-users] Re: could not lock file gitconfig: permission denied

2012-08-07 Thread coccinelle
I restarted Git Bash (I see, it is necessary). Git doesn't complain any 
more, but does not write in the file where it looks later.
After playing around with, I have now 3 config files: C:\Program 
Files\Git\etc\gitconfig, and two in my home directory: gitconfig and 
.gitconfig (with and without dot in the beginning). The latter one appeared 
at some point, when I was setting HOME manually to my home drive.
I edited the user information in all three files manually. Git seems to 
look only in C:\Program Files\Git\etc\gitconfig . If the information is in 
this file, everything is fine. If not, I get the message tell me who you 
are, independently of the information in the other files.

-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/git-users/-/05FwUimPs4UJ.
To post to this group, send email to git-users@googlegroups.com.
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.



[git-users] Re: could not lock file gitconfig: permission denied

2012-08-07 Thread Thomas Ferris Nicolaisen
On Tuesday, August 7, 2012 5:01:50 PM UTC+2, coccinelle wrote:

 I restarted Git Bash (I see, it is necessary). Git doesn't complain any 
 more, but does not write in the file where it looks later.
 After playing around with, I have now 3 config files: C:\Program 
 Files\Git\etc\gitconfig, and two in my home directory: gitconfig and 
 .gitconfig (with and without dot in the beginning). The latter one 
 appeared at some point, when I was setting HOME manually to my home drive.
 I edited the user information in all three files manually. Git seems to 
 look only in C:\Program Files\Git\etc\gitconfig . If the information is 
 in this file, everything is fine. If not, I get the message tell me who 
 you are, independently of the information in the other files.


I would find it very odd if Git creates the .gitconfig file without using 
it thereafter.

You should retrace your steps to see with under which exact settings the 
.gitconfig gets created in your home-dir, and then, using git config -l, 
see if changes in the .gitconfig file in your home-dir has any effect. 

Keep in mind that git config -l will output the *sum *of configuration 
entries, including both the ones in home-dir and in etc/gitconfig.

-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/git-users/-/ii2k9o9CyIUJ.
To post to this group, send email to git-users@googlegroups.com.
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.



[git-users] Re: could not lock file gitconfig: permission denied

2012-08-07 Thread coccinelle
Here the different cases I tried:

1.) changing the initial line HOME=$HOMEDRIVE$HOMEPATH to 
HOME=$USERPROFILE.
Creates .gitconfig when I call git config --global user.name Name. This 
file contains only the user (name, email) information. Changes are seen by 
-l.
Commit fails with tell me who you are.

2.) changing the initial line HOME=$HOMEDRIVE$HOMEPATH to HOME = 
C:/Documents and Settings/me/.
Same behaviour as in 1.)

3) adding a line HOME = C:/Documents and Settings/mbader/ after the 
complete section where home is defined.
Git Bash start with an error message HOME command not found, but I can 
use it.
Git behaves later as if this line is not existing.


git config -l sees changes in .gitconfig and in C:\Program 
Files\Git\etc\gitconfig, but not in C:\Documents and Settings\me\gitconfig.

-- 
You received this message because you are subscribed to the Google Groups Git 
for human beings group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/git-users/-/Z9noTS_-0oIJ.
To post to this group, send email to git-users@googlegroups.com.
To unsubscribe from this group, send email to 
git-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/git-users?hl=en.