Andreas Ericsson <ae@op5.se> wrote:Yes, I know. Its a tuning thing. In my normal work on git-gui I am usually pushing under 20 objects when I publish to repo.or.cz. Since I also do that about once a week I probably wouldn't mind letting these packs be saved. But for other users that might be so small its not worth it. In my day-job I'm usually pushing about 30-40 objects when I push. I also believe in small isolated changes but often will do a long string of those and only push to the public location once I am reasonably happy with how that string turned out. 40 objects is almost worth packing if we also have a cheap pack file merge available (Junio's patch). I work with about 30 others at day-job through Git. Some of them are able to remember to run `git gc` every once in a while. Others don't. Those who don't also have a workflow where they are making a single commit and then pushing that commit as soon as it is complete. Usually that commit affects about 4-6 files one tree down, so its a total of 9 new objects. Packing 9 objects is most likely not worth saving. Yet these are the very users who also cannot remember to run `git gc`. :-\ Yeah, its really only worthwhile if you are moving a reasonable number of objects. Maybe it should be enabled only if it at least meets a minimum threshold of objects such as the fetch limit (transfer.unpackLimit / fetch.unpackLimit) and also if the majority of what it is sending is currently loose (my patch has it at 50%). It was late and a proof of concept. I never meant for it to be applied in the state it is in. :) -- Shawn. - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
| KOSAKI Motohiro | [bug?] tg3: Failed to load firmware "tigon/tg3_tso.bin" |
| Faik Uygur | Re: Linux 2.6.21-rc1 |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| Trent Piepho | [PATCH] [POWERPC] Improve (in|out)_beXX() asm code |
git: | |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| David Miller | [GIT]: Networking |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| Jens Axboe | Re: [BUG] New Kernel Bugs |
