Hi,
On Tue, 17 Jul 2007, Catalin Marinas wrote:
"Bradford Smith" [off-list ref] wrote:
quoted
However, when I tried running 'git-config --global color.diff auto'
today, it removed my symlink and replaced it with a real file. This
left me briefly a bit confused when the changes I had made didn't show
up in ~/etc/gitconfig, but git-config reported them anyway.
Another problem I have with 'git config --global' is that it changes
the access permission bits of ~/.gitconfig. Since I use the same file
to store global StGIT configuration like SMTP username and password,
I'd like to make its access 0600 but it always goes back to 0644 after
'git config --global'.
Maybe fixing the symlink case would solve my problem as well.
More likely not. The way to solve it would be to follow the link if the
target path is one. As such, the _file_ would be rewritten.
So your problem is unrelated, and would need a separate fix.
Ciao,
Dscho