On Wed, Sep 05, 2007 at 07:09:27AM +0000, Linus Torvalds wrote:=20 t=20 =20 Well independently from the fact that one could suppose that users should use gc on their own, the big nasty problem with repacking is that it's really slow. And I just can't imagine git that I use to commit blazingly fast, will then be unavailable for a very long time (repacks on my projects -- that are not as big as the kernel but still -- usually take more than 10 to 20 seconds each). d=20 =20 I do, when I'm bored and that I can't get things done. you know, it has become one of my many twitches when I have an empty tty in front of me and that I'm doing nothing useful. Though, when I'm in a hack-attack, well I don't necessarily remember to repack. I'm in one of the (not so many ?) very lucky companies (yay start-ups) where I could show that git was very superior, and we now use it as our sole SCM. So when I'm in a hack attack, it's usually that it's a busy week, and that new patches, trees, objects (and sometimes with large binary things in it) flows like hell. And the repository grows larger and larger. Well, the way we chose to avoid the "I'm coding don't bother me with administrivia"-attitude is that our users use a small cron that basically runs git gc each day, and an aggressive repack (with a window of 50 or 100 I don't remember) each Week-end in a cron. Because the best criterion to repack a repository is: when there is no-one on the computer. It has proven quite good, as we have never seen a repository explode in a day, even after some funny mistakes where people rebase some big parts of the tree many times, generating very large number of loose objets. I know I don't really answer the question, but the point I try to make is that yeah, some kind of automated way to run the gc is great, but I'm not sure that _git_ is the tool to automate that, because when *I* use git, I expect it to be just plain fast, and I don't want it to occasionally hang. --=20 =C2=B7O=C2=B7 Pierre Habouzit =C2=B7=C2=B7O madcoder@debia= n.org OOO http://www.madism.org
| Tarkan Erimer | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Greg Kroah-Hartman | [PATCH 007/196] Chinese: add translation of stable_kernel_rules.txt |
| Andrew Morton | -mm merge plans for 2.6.23 |
| Arjan van de Ven | [Announce] Development release 0.1 of the LatencyTOP tool |
git: | |
| Gerrit Renker | [PATCH 15/37] dccp: Set per-connection CCIDs via socket options |
| David Miller | [GIT]: Networking |
| Stephen Hemminger | Re: iptables very slow after commit 784544739a25c30637397ace5489eeb6e15d7d49 |
