threads / discuss / 15541

You don't exist, Go away! although user.name has been set

Subject: You don't exist, Go away! although user.name has been set

## tl;dr

3 messages between Sep 16, 2008 and Sep 18, 2008.

replies: 2people: 2as markdown or json

Marc Weber· Sep 16, 2008, 01:05 UTC · lore
Today I was glad. I 've been able to compile git on a maanged server.
git clone did work as well however running
git fetch <remote location> caused the line
      die("You don't exist. Go away!");
to be executed. (the first one)

Before examining that I asked at #git and got the tip to set user.name and user.email which I did. Then I verified that git git var GIT_AUTHOR_IDENT and git var GIT_COMMITTER_IDENT both printed some values.

I still got the failure above. I've fixed it for my case by setting git_default_name and git_default_email just before the check within the ident.c file (line 76)..

However I want to ask wether I've hit a known problem and wether you would appreciate me debggung this issue any further?

Maybe I should add that I've been running that git from the build directory if that matters. The version is 1.6.0 from the official mirror site.

Marc Weber
Andreas Ericsson· Sep 16, 2008, 07:38 UTC · re: Marc Weber · lore

Re: You don't exist, Go away! although user.name has been set

Marc Weber wrote:
Show 21 quoted lines
> Today I was glad. I 've been able to compile git on a maanged server.
> git clone did work as well however running
> git fetch <remote location> caused the line
>       die("You don't exist. Go away!");
> 
> to be executed. (the first one)
> 
> Before examining that I asked at #git and got the tip to set
> user.name and user.email which I did. Then I verified that git
> git var GIT_AUTHOR_IDENT and 
> git var GIT_COMMITTER_IDENT
> both printed some values.
> 
> I still got the failure above.
> I've fixed it for my case by setting
> git_default_name and git_default_email just before the check within the
> ident.c file (line 76)..
> 
> However I want to ask wether I've hit a known problem and wether you
> would appreciate me debggung this issue any further?
> 

I can assure you that people are capable of fetching, pulling and committing with git. I do it all day long at least.

Can you post your ~/.gitconfig (and/or .git/config) file, please? In conjunction, I also need to know the exact username you're using on your system.

> Maybe I should add that I've been running that git from the build
> directory if that matters. The version is 1.6.0 from the official
> mirror site.
> 

If you'd been running 0.99 I'd have been worried. 1.6.0 is pretty solid.

-- 
Andreas Ericsson                   andreas.ericsson@op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231
Marc Weber· Sep 18, 2008, 11:47 UTC · re: Andreas Ericsson · lore

Re: You don't exist, Go away! although user.name has been set

Show 6 quoted lines
>  I can assure you that people are capable of fetching, pulling and
>  committing with git. I do it all day long at least.
> 
>  Can you post your ~/.gitconfig (and/or .git/config) file, please?
>  In conjunction, I also need to know the exact username you're using
>  on your system.

Hmm I think it only occurs if you git clone the repo before adding the identity to your global config.

If you clone the repository after having added your identity everything is fine..

/ksa > git fetch origin fatal: You don't exist. Go away!

~/.gitconfig:
[user]
        name = sadflkj-sa
        email = info@dflkje.de

The repo config is unchanged after cloning. The HEAD pointer is invalid. But this shouldn't matter

Sincerly Marc Weber

← back to recent threads