On 2008.11.13 18:53:29 -0600, Brandon Casey wrote:No, actually I just totally ignored the fact that -a of course already deletes the loose objects. The packed unreachable objects are in the old packs, so they're already included in the first half of my sentence ;-) When you only fix up merge commits, author information and such things, then yes, most objects will be commits. And then it's not even that bad. But a more interesting case is when in your old SCM you had multiple projects in one repo, and you can't sanely separate them before the import. So you might end up using the subdirectory filter a few times, or even just drop a bunch of branches in each copy of your import. And another one is when you had accidently commited some huge, useless files, and as you're switching to git now anyway, you want to get rid of them, so you use an index-filter to drop them. For those two cases, -Ad vs -ad can make a huge difference. I remember someone on #git using a subdirectory filter on some project and trying to get the repo to a sane size afterwards. -Ad took basically forever, while -ad finished in 5 seconds or so. IMHO, "git gc" already provides enough safety. I tend to see "gc" as the regular "just use it" tool, while repack gives me more control over how I want things to be done, without forcing me to use the real plumbing or to fumble around with the configuration for gc. And when I want control, I'm generally prepared to shoot myself in the foot. Björn -- 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
| david | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Greg Kroah-Hartman | [PATCH 005/196] Chinese: add translation of SubmittingDrivers |
| Vladislav Bolkhovitin | Re: Integration of SCST in the mainstream Linux kernel |
| Jan Engelhardt | intel iommu (Re: -mm merge plans for 2.6.23) |
git: | |
| David Miller | [GIT]: Networking |
| David Miller | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| Natalie Protasevich | [BUG] New Kernel Bugs |
