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

Re: sparse fetch, was Re: [PATCH 08/12] git-clone: support --path to do sparse clone

From
Nguyen Thai Ngoc Duy <pclouds@gmail.com>
Date
Jul 24, 2008, 18:44 UTC
Message-ID
<fcaeb9bf0807241144i6decac10q78c5962f3daa7a48@mail.gmail.com>
In-Reply-To
<alpine.DEB.1.00.0807241837441.8986@racer>
On 7/25/08, Johannes Schindelin <Johannes.Schindelin@gmx.de> wrote:
Show 21 quoted lines
> Hi,
>
>  On Thu, 24 Jul 2008, Jeff King wrote:
>
>  > As a user, I would expect "sparse clone" to also be sparse on the
>  > fetching. That is, to not even bother fetching tree objects that we are
>  > not going to check out. But that is a whole other can of worms from
>  > local sparseness, so I think it is worth saving for a different series.
>
>  I think this is not even worth of a series.  Sure, it would have benefits
>  for those who want sparse checkouts.  But it comes for a high price on
>  everyone else:
>
>  - security issues (you'd need to open the git protocol to give you
>   something else than a ref, _including_ refs that were deleted)
>
>  - performance issues (the server would have to do a lot more, faking
>   commits, or in the alternative serving a gazillion more sessions if the
>   client does the reconstruction)
>
>  ... and I am sure there are tons more issues.
Widen checkout won't work and probably more.
-- 
Duy
Previous: Sverre RabbelierNext: Petr Baudis
Message 10 of 16 in “git-clone: support --path to do sparse clone”
  1. 08/12 git-clone: support --path to do sparse cloneNguyễn Thái Ngọc Duy, Jul 23, 2008
  2. Jeff KingJul 24, 2008
  3. sparse fetch, was Re: [PATCH 08/12] git-clone: support --path to do sparse cloneJohannes Schindelin, Jul 24, 2008
  4. Jeff KingJul 24, 2008
  5. Johannes SchindelinJul 25, 2008
  6. James PickensJul 25, 2008
  7. Jeff KingJul 25, 2008
  8. Junio C HamanoJul 25, 2008
  9. Sverre RabbelierJul 25, 2008
  10. Nguyen Thai Ngoc DuyJul 24, 2008
  11. Petr BaudisJul 24, 2008
  12. Sverre RabbelierJul 24, 2008
  13. Johannes SchindelinJul 25, 2008
  14. Petr BaudisJul 25, 2008
  15. Sverre RabbelierJul 25, 2008
  16. Nguyen Thai Ngoc DuyJul 24, 2008

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.