git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Ian Dees" <undees@gmail.com>
To: git@vger.kernel.org
Subject: Completion message for git-clone?
Date: Thu, 7 Feb 2008 19:09:54 -0800	[thread overview]
Message-ID: <ad4f9af90802071909s4dad180as26b2dd8b7600342f@mail.gmail.com> (raw)

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

             reply	other threads:[~2008-02-08  3:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-08  3:09 Ian Dees [this message]
2008-02-08  8:29 ` Completion message for git-clone? Jeff King
2008-02-08 10:01 ` Jakub Narebski
2008-02-08 16:23   ` Ian Dees

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ad4f9af90802071909s4dad180as26b2dd8b7600342f@mail.gmail.com \
    --to=undees@gmail.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).