From: "Shawn O. Pearce" <spearce@spearce.org>
To: Nicolas Pitre <nico@cam.org>
Cc: Jean-Luc Herren <jlh@gmx.ch>, jidanni@jidanni.org, git@vger.kernel.org
Subject: Re: git-clone --how-much-disk-space-will-this-cost-me? [--depth n]
Date: Wed, 17 Dec 2008 08:21:27 -0800 [thread overview]
Message-ID: <20081217162127.GG32487@spearce.org> (raw)
In-Reply-To: <alpine.LFD.2.00.0812171104340.30035@xanadu.home>
Nicolas Pitre <nico@cam.org> wrote:
>
> And I consider any system doing such thing completely stupid. Either
> you consistently know the information or you don't. When you don't, it
> is best to not create expectations for the user. And so far I think
> that 99.9% of git users are just fine with the progress display we
> currently provide.
Certainly true here; I never care how big the source I'm cloning is.
But then again I have pretty good network connectivity at work
and at least cable modem service at home... most things clone down
pretty fast.
Its a quick hack to give a size upper bound. I don't think its
that ugly. Our network protocol is uglier with all of its hidden
fields jammed behind that NUL in the first advertisement line.
But I digress.
The better feature is probably resumable clone anyway. At least
then people can abort a "long running" clone and have a good chance
they can pick it up again in the near future. Its also not easy to
implement, which is why we've only been talking about it for years
and never actually seen a patch proposing to do it.
--
Shawn.
next prev parent reply other threads:[~2008-12-17 16:22 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-15 23:53 git-clone --how-much-disk-space-will-this-cost-me? [--depth n] jidanni
2008-12-16 0:22 ` Jean-Luc Herren
2008-12-16 0:37 ` jidanni
2008-12-16 2:07 ` Jean-Luc Herren
2008-12-16 5:45 ` Nicolas Pitre
2008-12-17 15:44 ` Shawn O. Pearce
2008-12-17 16:15 ` Nicolas Pitre
2008-12-17 16:21 ` Shawn O. Pearce [this message]
2008-12-17 16:46 ` Nicolas Pitre
2008-12-17 16:48 ` Shawn O. Pearce
2008-12-17 16:56 ` Nicolas Pitre
2008-12-16 0:43 ` Jeff King
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=20081217162127.GG32487@spearce.org \
--to=spearce@spearce.org \
--cc=git@vger.kernel.org \
--cc=jidanni@jidanni.org \
--cc=jlh@gmx.ch \
--cc=nico@cam.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).