git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Completion message for git-clone?
@ 2008-02-08  3:09 Ian Dees
  2008-02-08  8:29 ` Jeff King
  2008-02-08 10:01 ` Jakub Narebski
  0 siblings, 2 replies; 4+ messages in thread
From: Ian Dees @ 2008-02-08  3:09 UTC (permalink / raw)
  To: git

Hi, all.  Upon cloning a repository, the initial message reads:

  Initialized empty Git repository in path/to/new-repo/.git
  0 blocks

I'd wager "empty" means, "empty because Git is about to populate it."
Even so, this wording could be a bit surprising to new adopters,
especially coupled with the "0 blocks" suffix (is it really creating
hardlinks on NTFS?).  The impression is that the clone didn't work.
The impression is, of course, eventually dispelled by looking inside
the new directory.  Is there a way to clarify the overall status of
the clone operation?

One other minor thing I noticed while futzing with clones: if you try
to clone an empty repository, you get the same "Initialized empty
repository" message, even though no such second directory is created.
I'm not suggesting Git should suddenly start allowing empty cloning,
but perhaps a "Empty repository; skipping clone" message would be
helpful.

--Ian

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

end of thread, other threads:[~2008-02-08 16:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-08  3:09 Completion message for git-clone? Ian Dees
2008-02-08  8:29 ` Jeff King
2008-02-08 10:01 ` Jakub Narebski
2008-02-08 16:23   ` Ian Dees

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