My favorites | Sign in
Project Home Downloads Wiki Issues Source
New issue   Search
  Advanced search   Search tips   Subscriptions
Issue 922: Settings / Git / Config / Edit global .gitconfig uses wrong path
2 people starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  ----
Closed:  Oct 2011

Sign in to add a comment
Reported by, Oct 5, 2011
What steps will reproduce the problem?
1. Settings / Git / Config / Edit global .gitconfig will open a empty file

What is the expected output? What do you see instead?
I expect to get the .gitignore file located at %HOMEDRIVE%%HOMEPATH% but i get the file at %USERPROFILE%.

What version of the product are you using? On what operating system?
Windows 7 (in a domain)
git version 1.7.4.msysgit.0

Please provide any additional information below.
Settings / Git / Config / Edit global .gitconfig will open a empty file. If you run "git config --global -l" you see the content from %HOMEDRIVE%%HOMEPATH% .gitconfig. Means msysgit is using a different file than tortoise git uses to display it i a editor.
Oct 5, 2011
Project Member #1
Can you please post the contents of these three variables?
Oct 6, 2011
Project Member #2
This might also affect gitdll.c
Oct 6, 2011
Project Member #3
This issue was closed by revision 8b8b31e9973f.
Status: Fixed
Feb 4, 2014
My TortoiseGit is trying to open/save to a nonexistent path (on a nonexistent drive)... How can I change where Tortoise tries to store the global config? 

Every time it tells me that the config cannot be found in the impossible location on the nonexistent dirve and then asks me if I want to create it... which is of course not possible. I just want to change that wrong path but cannot find it anywhere...
Apr 15, 2014
Could TortoiseGit just use the same location as Git uses?  Had to add a whole section to our installation doc to work around this problem.
Apr 15, 2014
Project Member #6
TortoiseGit uses the exact same location(s) as Git for Windows.
Sign in to add a comment

Powered by Google Project Hosting