# Git does not use GIT_* envirnment vars?

3 messages from 2005-05-27 to 2005-05-27. Participants: Dmitry Torokhov, Junio C Hamano.
Thread: https://gitlist.dev/t/732

## Dmitry Torokhov, 2005-05-27 06:09

Subject: Git does not use GIT_* envirnment vars?
Message-ID: <200505270109.44302.dtor_core@ameritech.net>
URL: https://gitlist.dev/e/200505270109.44302.dtor_core%40ameritech.net

```
Hi,

I am totally confused... This is with today's cogito pull. It does not seem
to take GIT_ environment variables, although according to debugger it puts
correct data when writing object... Anybody else seeing this?  

[dtor@anvil kernel]$ mkdir git-test
[dtor@anvil kernel]$ cd git-test/
[dtor@anvil git-test]$ git-init-db
defaulting to local storage area
[dtor@anvil git-test]$ git-write-tree
4b825dc642cb6eb9a060e54bf8d69288fbee4904
[dtor@anvil git-test]$ git-commit-tree 4b825dc642cb6eb9a060e54bf8d69288fbee4904
Committing initial tree 4b825dc642cb6eb9a060e54bf8d69288fbee4904
test
413398e6c1b53a0993cb195209c4d0e6276bb076
[dtor@anvil git-test]$ git-cat-file commit 413398e6c1b53a0993cb195209c4d0e6276bb076
tree 4b825dc642cb6eb9a060e54bf8d69288fbee4904
author Dmitry Torokhov <dtor@anvil.corenet.prv> 1117173530 -0500
committer Dmitry Torokhov <dtor@anvil.corenet.prv> 1117173530 -0500

test
[dtor@anvil git-test]$ export | grep GIT
declare -x GIT_AUTHOR_EMAIL="dtor_core@ameritech.net"
declare -x GIT_COMMITTER_EMAIL="dtor_core@ameritech.net"
declare -x GIT_COMMITTER_NAME="Dmitry Torokhov"

-- 
Dmitry

```

## Junio C Hamano, 2005-05-27 06:47

Subject: Re: Git does not use GIT_* envirnment vars?
Message-ID: <7vmzqh17y9.fsf@assigned-by-dhcp.cox.net>
URL: https://gitlist.dev/e/7vmzqh17y9.fsf%40assigned-by-dhcp.cox.net
In-Reply-To: <200505270109.44302.dtor_core@ameritech.net>

```
I am baffled.  If you are a bash user, what does "type --all"
tells you?  The only explanation I can think of is that you
might have leftover old git-* installation somewhere on your
PATH.



```

## Dmitry Torokhov, 2005-05-27 06:54

Subject: Re: Git does not use GIT_* envirnment vars?
Message-ID: <200505270155.00180.dtor_core@ameritech.net>
URL: https://gitlist.dev/e/200505270155.00180.dtor_core%40ameritech.net
In-Reply-To: <7vmzqh17y9.fsf@assigned-by-dhcp.cox.net>

```
On Friday 27 May 2005 01:47, Junio C Hamano wrote:
> I am baffled.  If you are a bash user, what does "type --all"
> tells you?  The only explanation I can think of is that you
> might have leftover old git-* installation somewhere on your
> PATH.

*sigh* Exactly. I forgot to uninstall cogito rpm after pulling
the latest tree and they got mixed up. Dammit, I just wasted 3
hours because of my own stupidity :(

Thank you for your help. 

-- 
Dmitry

```
