git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [Misfeature] cloning without configuration fails and returns 0
@ 2007-12-08 22:21 Benoit Sigoure
  2007-12-09  1:32 ` Junio C Hamano
  0 siblings, 1 reply; 3+ messages in thread
From: Benoit Sigoure @ 2007-12-08 22:21 UTC (permalink / raw)
  To: Git Mailing List

Hi,
on a new machine I have access to, I fetched tonight's git master  
(git version 1.5.3.7.g9758e) and installed it on my account in order  
to clone one of my projects.  I did not setup anything in my git  
config and stumbled on the following misfeature:

----------------------------------------------------------------------
$ git clone ssh://login@host/~/path/git/project/.git project
Initialized empty Git repository in /home/me/git/project/.git/
Password:
remote: Counting objects: 609, done.
remote: Compressing objects: 100% (465/465), done.
remote: Total 609 (delta 267), reused 462 (delta 134)
Receiving objects: 100% (609/609), 1.56 MiB | 63 KiB/s, done.
Resolving deltas: 100% (267/267), done.

*** Your name cannot be determined from your system services (gecos).

Run

   git config --global user.email "you@example.com"
   git config --global user.name "Your Name"

to set your account's default identity.
Omit --global to set the identity only in this repository.

fatal: empty ident  <me@fqdn> not allowed
[last 11 lines repeated 3 times!]
fatal: Not a valid object name HEAD
----------------------------------------------------------------------

Not only the same 11 lines of error message were printed 3 times, but  
also the command returned 0!

This is not user friendly at all.  So I thought I'd point this out on  
this ML.

Cheers,

-- 
Benoit Sigoure aka Tsuna
EPITA Research and Development Laboratory

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

end of thread, other threads:[~2007-12-11 11:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-08 22:21 [Misfeature] cloning without configuration fails and returns 0 Benoit Sigoure
2007-12-09  1:32 ` Junio C Hamano
2007-12-11 11:42   ` Benoit Sigoure

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).