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

Re: Tracking a repository for content instead of history

From
APAndy Parkins <andyparkins@gmail.com>
Date
Dec 12, 2006, 13:26 UTC
Message-ID
<200612121326.24508.andyparkins@gmail.com>
In-Reply-To
<elm993$rf1$1@sea.gmane.org>
On Tuesday 2006 December 12 13:04, Jakub Narebski wrote:
Show 5 quoted lines
> > Is it even sensible to want that?  It strikes me that it's possible that
> > there isn't that much space/bandwidth saving to be made.  Should I just
> > clone the repository and shut up?  :-)
>
> I've had similar idea: search for "sparse clone" keyword. But no code.

While the functionality might not be built into git in terms of clone, would there be a way to pull a particular commit from another repository?

The way I would do it given nothing else is to simply extract snapshots into a working directory; and create a repository from scratch. I was just wondering if a method existed that could reduce the size of the download.

I think the best way is going to be to use the patches published at kernel.org and apply them one at a time with git-apply.

Andy
-- 
Dr Andy Parkins, M Eng (hons), MIEE
Previous: Jakub NarebskiNext: Johannes Schindelin
Message 3 of 10 in “Tracking a repository for content instead of history”
  1. Andy ParkinsDec 12, 2006
  2. Jakub NarebskiDec 12, 2006
  3. Andy ParkinsDec 12, 2006
  4. Johannes SchindelinDec 12, 2006
  5. Andy ParkinsDec 12, 2006
  6. Johannes SchindelinDec 12, 2006
  7. Johannes SchindelinDec 12, 2006
  8. Nguyen Thai Ngoc DuyDec 12, 2006
  9. Nguyen Thai Ngoc DuyDec 12, 2006
  10. Johannes SchindelinDec 12, 2006

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.