Thread (4 messages) flat view 4 messages, 3 authors, 2016-06-15

Re: [PATCH] Add --no-reuse-delta, --window, and --depth options to git-gc

From: Dana How <hidden>
Date: 2016-06-15 22:43:08

On 5/7/07, Theodore Tso [off-list ref] wrote:
On Mon, May 07, 2007 at 11:13:58PM -0400, Nicolas Pitre wrote:
quoted
On Mon, 7 May 2007, Theodore Ts'o wrote:
quoted
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@gmail.com  +1 650 804 5991 cell
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help