git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH/RFC] clone: inform the user we are checking out

From
Erik Faye-Lund <kusmabite@gmail.com>
Date
May 7, 2012, 09:35 UTC
Message-ID
<CABPQNSZ+FtMJ1msSmqvROP6YqRGKvz1uz8w1z5mF3YDXZyiPQw@mail.gmail.com>
In-Reply-To
<4FA7952C.90702@viscovery.net>
On Mon, May 7, 2012 at 11:26 AM, Johannes Sixt <j.sixt@viscovery.net> wrote:
Show 15 quoted lines
> Am 5/7/2012 11:09, schrieb Erik Faye-Lund:
>> When cloning a large repository over a local file-system
> ...
>> $ git clone some-repo.git some-other-repo
>> Cloning into 'some-other-repo'...    <happens instantly>
>> done.                                <hangs for minutes>
>> $
> ...
>> I asked git
>> to clone, and it told me it finished, only to hang around for
>> several minutes while, judging by the output, doing nothing.
>
> We have a nice "Checking out files" progress indicator. I wonder why you
> do not see it.
>

That's a very good point, I forgot about that one. I'll investigate that part. Just to be clear, I'm seeing this problem on version 1.7.10.1.457.g8275905 (junio's 'master' as of right now, AFAICT) on CentOS. I've built with: NO_OPENSSL = YesPlease NO_CURL = YesPlease

"git config -l" does not reveal that any progress related config-options are set.

> At any rate, it's better to write "done" only after we're really done.

Well, perhaps, but at the same time perhaps not: We only write it for local clones, because the remote-clones are quite chatty to begin with, and the remote-stuff seems to inform about it's actions by printing "<performing task x>...done!". Moving the final "done."-printing to the very end might be a step in making these outputs even less consistent. But it might not be important.

Previous: Johannes SixtNext: Erik Faye-Lund
Message 3 of 7 in “clone: inform the user we are checking out”
  1. clone: inform the user we are checking outErik Faye-Lund, May 7, 2012
  2. Johannes SixtMay 7, 2012
  3. Erik Faye-LundMay 7, 2012
  4. Erik Faye-LundMay 7, 2012
  5. Erik Faye-LundMay 7, 2012
  6. Jeff KingMay 7, 2012
  7. Junio C HamanoMay 7, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.