My favorites | Sign in
Project Home Downloads Wiki Issues Source
New issue   Search
for
  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
Cc:  lzn...@gmail.com


Sign in to add a comment
 
Reported by myNameIs...@googlemail.com, 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)
TortoiseGit 1.6.5.0
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 sstrickr...@googlemail.com
Can you please post the contents of these three variables?
Oct 6, 2011
Project Member #2 sstrickr...@googlemail.com
This might also affect gitdll.c
Oct 6, 2011
Project Member #3 sstrickr...@googlemail.com
This issue was closed by revision 8b8b31e9973f.
Status: Fixed
Feb 4, 2014
#4 cloudisw...@gmail.com
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
#5 orbf...@gmail.com
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 sstrickr...@googlemail.com
TortoiseGit uses the exact same location(s) as Git for Windows.
Sign in to add a comment

Powered by Google Project Hosting