Code

clone: reword messages to match the end-user perception
authorPete Harlan <pgit@pcharlan.com>
Sun, 9 May 2010 20:10:17 +0000 (13:10 -0700)
committerJunio C Hamano <gitster@pobox.com>
Sun, 9 May 2010 22:18:10 +0000 (15:18 -0700)
commit921eabde9d0b9b43b293b37ac701bdfd10a64f54
treeef439a293400cd759f9f872066d74e0a86975df5
parent28ba96ab27d0471af101b4796534ad4085019db1
clone: reword messages to match the end-user perception

When cloning into a non-bare repository, e.g. "git clone $URL mine",
we used to report that we are cloning into "mine/.git".  Reword the
report to say "Cloning into mine" instead, as that matches what the
end-user asked for closer.

Make the message for "git clone --bare $URL mine" to say "Cloning
into bare repository mine" do make the distinction between this case and
the above stand out a bit more prominently.

Suggested-by: Jeff King <peff@peff.net>
Signed-off-by: Pete Harlan <pgit@pcharlan.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/clone.c