On 5/7/07, Theodore Tso <tytso@xxxxxxx> wrote:
On Mon, May 07, 2007 at 11:13:58PM -0400, Nicolas Pitre wrote: > On Mon, 7 May 2007, Theodore Ts'o wrote: > > Sometimes users might want to use more aggressive packing options > > when doing a git-gc. This allows them to do so without having > > to use the low-level plumbing commands. > In the context of "gc", having an option that reads "window" looks a bit > strange too. I suppose, but you either need to then know all of the other commands which git-gc runs, and do them manually, skipping git-gc altogether, or use git-gc, and end up rewriting the pack twice, ince using the git-repack in git-gc, and then once manually so you can give the options that you really want to give to git-repack. Maybe the right approach is to have a way to specify default --window and --depth as git configuration variables? Looks like there is a pack.window already, but not a pack.depth. What if we add a pack.depth configuration option, and add only --no-reuse-delta to git-gc? Would that be better?
I would use pack.depth . Thanks, -- Dana L. How danahow@xxxxxxxxx +1 650 804 5991 cell - To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html