threads / discuss / 732

Git does not use GIT_* envirnment vars?

Subject: Git does not use GIT_* envirnment vars?

## tl;dr

3 messages between May 27, 2005 and May 27, 2005.

replies: 2people: 2as markdown or json

Dmitry Torokhov· May 27, 2005, 06:09 UTC · lore
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· May 27, 2005, 06:47 UTC · re: Dmitry Torokhov · lore

Re: Git does not use GIT_* envirnment vars?

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· May 27, 2005, 06:54 UTC · re: Junio C Hamano · lore

Re: Git does not use GIT_* envirnment vars?

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

← back to recent threads