Re: Git --file doesn't override $HOME in version 1.8.1.2

2013-07-09 Thread Jeff King
On Tue, Jul 09, 2013 at 01:49:21PM +0200, Thomas Rast wrote: > Rather, it's very strange that 'git config --file foo' tries to look at > any config file other than 'foo'. In a git repo: > > $ strace git config --file fooconfig test.var 2>&1 | grep 'open.*config' > open("/home/thomas/.gitconf

RE: Git --file doesn't override $HOME in version 1.8.1.2

2013-07-09 Thread Sarajärvi Tony
> -Original Message- > From: Junio C Hamano [mailto:gits...@pobox.com] > Sent: 9. heinäkuuta 2013 15:01 > To: Sarajärvi Tony > Cc: git@vger.kernel.org > Subject: Re: Git --file doesn't override $HOME in version 1.8.1.2 > > Sarajärvi Tony writes: >

Re: Git --file doesn't override $HOME in version 1.8.1.2

2013-07-09 Thread Junio C Hamano
Sarajärvi Tony writes: > Using Ubuntu 13.04 with Git 1.8.1.2 I stumbled upon a problem using Puppet. > > In Puppet we launch Git with the command: '/usr/bin/git config --file > /home/qt/.gitconfig --get "user.name" "Qt Continuous Integration System"' Hmph. What does this even mean? git co

Re: Git --file doesn't override $HOME in version 1.8.1.2

2013-07-09 Thread Thomas Rast
Sarajärvi Tony writes: > Using Ubuntu 13.04 with Git 1.8.1.2 I stumbled upon a problem using Puppet. > > In Puppet we launch Git with the command: '/usr/bin/git config --file > /home/qt/.gitconfig --get "user.name" "Qt Continuous Integration > System"' > However, puppet logs: "fatal: unable to ac

Git --file doesn't override $HOME in version 1.8.1.2

2013-07-09 Thread Sarajärvi Tony
Using Ubuntu 13.04 with Git 1.8.1.2 I stumbled upon a problem using Puppet. In Puppet we launch Git with the command: '/usr/bin/git config --file /home/qt/.gitconfig --get "user.name" "Qt Continuous Integration System"' However, puppet logs: "fatal: unable to access '/root/.config/git/config': P