.gitconfig location

30 views
Skip to first unread message

Osman Ullah

unread,
Oct 10, 2008, 3:13:28 PM10/10/08
to msysGit
Hey all,

First, I would like to say I have been enjoying msysgit for a few
months now and must admit I am a convert from SVN. However, git gui
has one annoying bug which is actually preventing me from accessing my
repository at this time.

It is using some strange parameter to look for the .gitconfig file. My
network admin has set up my domain to automatically map a network
drive. No other application is using this drive, but for some reason
git gui has decided to store it's .gitconfig file there. Right now I
am away from my desk and I cannot launch git gui because it is trying
to access the .gitconfig and failing. The error log is attached to the
end of this e-mail.

Is there any way to specify a new location for the .gitconfig file?

Thanks


---------------------------------
Error log:

error: could not lock config file H:\/.gitconfig
error: could not lock config file H:\/.gitconfig
while executing
"exec {C:/Program Files/Git/bin/git-config.exe} --global --add
gui.recentrepo {C:/Documents and Settings/oullah/My Documents/
development/aptelawebui}"
("eval" body line 1)
invoked from within
"eval exec $opt $cmdp $args"
(procedure "git" line 23)
invoked from within
"git config --global --add gui.recentrepo $path"
(procedure "_append_recentrepos" line 16)
invoked from within
"_append_recentrepos [pwd]"
(procedure "choose_repository::_do_open2" line 12)
invoked from within
"choose_repository::_do_open2 ::choose_repository::__o1::__d"
invoked from within
".buttons.next invoke"
("uplevel" body line 1)
invoked from within
"uplevel #0 [list $w invoke]"
(procedure "tk::ButtonUp" line 24)
invoked from within
"tk::ButtonUp .buttons.next"
(command bound to event)

Roman Terekhov

unread,
Oct 11, 2008, 6:34:52 AM10/11/08
to msysGit
I have the same problem :-(
I tried to set my system environment variable HOME,
but GIT GUI does not use it :-(
--
Roman Terekhov
Reply all
Reply to author
Forward
0 new messages