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

Re: [QUESTION] about .git/info/grafts file

From
Petr Baudis <pasky@suse.cz>
Date
Jan 19, 2006, 17:30 UTC
Message-ID
<20060119173006.GE28365@pasky.or.cz>
In-Reply-To
<43CF97AF.9060300@op5.se>

Dear diary, on Thu, Jan 19, 2006 at 05:58:09PM CET, I got a letter where Linus Torvalds <torvalds@osdl.org> said that...

Show 12 quoted lines
> On Thu, 19 Jan 2006, Petr Baudis wrote:
> >
> > Dear diary, on Thu, Jan 19, 2006 at 11:51:22AM CET, I got a letter
> > where Franck <vagabon.xyz@gmail.com> said that...
> > > well, dealing with a repo that has more than 300,000 objects becomes a
> > > burden. A lots of git commands are slow, and cloning it take a while !
> > 
> > Were the objects packed? It would be interesting to have some data about
> > how GIT performs with that much objects...
> 
> The historical linux archive has a lot more than 300,000 objects. In fact, 
> even the _current_ kernel archive has almost 200,000 objects.
Eek. I was burnt by git-count-objects' misleading name. I guess
	git-rev-list --objects --all | wc -l

should give accurate results - 145941 for kernel repository back from December. I will follow up later with a patch for git-count-objects.

Show 8 quoted lines
>  - a full clone takes a long time. Git _could_ fairly easily have an 
>    extension to add a date specifier to clone too:
> 
> 	git clone --since=1.month.ago <source> <dst>
> 
>    and just leave any older stuff (you could always fetch it later), but 
>    we've just never done it. Maybe we should. It _should_ be pretty simple 
>    to do from a conceptual standpoint.

Yes. I receive wishes for this time by time and it is buried somewhere deep in my TODO list. I'm not sure how happy the GIT tools will be about invalid parent references.

-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
Of the 3 great composers Mozart tells us what it's like to be human,
Beethoven tells us what it's like to be Beethoven and Bach tells us
what it's like to be the universe.  -- Douglas Adams
Previous: Andreas EricssonNext: Petr Baudis
Message 16 of 21 in “[QUESTION] about .git/info/grafts file”
  1. FranckJan 17, 2006
  2. FranckJan 18, 2006
  3. Junio C HamanoJan 19, 2006
  4. FranckJan 19, 2006
  5. Petr BaudisJan 19, 2006
  6. Linus TorvaldsJan 19, 2006
  7. FranckJan 19, 2006
  8. Linus TorvaldsJan 19, 2006
  9. Junio C HamanoJan 19, 2006
  10. Junio C HamanoJan 19, 2006
  11. FranckJan 20, 2006
  12. Andreas EricssonJan 19, 2006
  13. Petr BaudisJan 19, 2006
  14. FranckJan 19, 2006
  15. Andreas EricssonJan 19, 2006
  16. Petr BaudisJan 19, 2006
  17. Petr BaudisJan 19, 2006
  18. Ryan AndersonJan 20, 2006
  19. Junio C HamanoJan 20, 2006
  20. FranckJan 20, 2006
  21. Junio C HamanoJan 20, 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.