git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* You don't exist, Go away! although user.name has been set
@ 2008-09-16  1:05 Marc Weber
  2008-09-16  7:38 ` Andreas Ericsson
  0 siblings, 1 reply; 3+ messages in thread
From: Marc Weber @ 2008-09-16  1:05 UTC (permalink / raw)
  To: git

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: You don't exist, Go away! although user.name has been set
  2008-09-16  1:05 You don't exist, Go away! although user.name has been set Marc Weber
@ 2008-09-16  7:38 ` Andreas Ericsson
  2008-09-18 11:47   ` Marc Weber
  0 siblings, 1 reply; 3+ messages in thread
From: Andreas Ericsson @ 2008-09-16  7:38 UTC (permalink / raw)
  To: Marc Weber; +Cc: git

Marc Weber wrote:
> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: You don't exist, Go away! although user.name has been set
  2008-09-16  7:38 ` Andreas Ericsson
@ 2008-09-18 11:47   ` Marc Weber
  0 siblings, 0 replies; 3+ messages in thread
From: Marc Weber @ 2008-09-18 11:47 UTC (permalink / raw)
  To: git

>  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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-09-18 11:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-16  1:05 You don't exist, Go away! although user.name has been set Marc Weber
2008-09-16  7:38 ` Andreas Ericsson
2008-09-18 11:47   ` Marc Weber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).