Re: [PATCH] repack: add `repack.honorpackkeep` config var

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

Re: [PATCH] repack: add `repack.honorpackkeep` config var

From: Junio C Hamano <hidden>
Date: 2016-06-15 23:00:00

Jeff King [off-list ref] writes:
On Mon, Feb 24, 2014 at 11:10:49AM -0800, Junio C Hamano wrote:
quoted
quoted
The best name I could come up with is "--pack-keep-objects", since that
is literally what it is doing. I'm not wild about the name because it is
easy to read "keep" as a verb (and "pack" as a noun). I think it's OK,
but suggestions are welcome.
pack-kept-objects then?
Hmm. That does address my point above, but somehow the word "kept" feels
awkward to me. I'm ambivalent between the two.
That word does make my backside somewhat itchy ;-)

Would it help to take a step back and think what the option really
does?  Perhaps we should call it --pack-all-objects, which is short
for --pack-all-objectsregardless-of-where-they-currently-are-stored,
or something?  The word "all" gives a wrong connotation in a
different way (e.g. "regardless of reachability" is a possible wrong
interpretation), so that does not sound too good, either.

"--repack-kept-objects"?  "--include-kept-objects"?

Re: [PATCH] repack: add `repack.honorpackkeep` config var

From: Jeff King <hidden>
Date: 2016-06-15 23:00:01

On Wed, Feb 26, 2014 at 12:30:36PM -0800, Junio C Hamano wrote:
quoted
quoted
pack-kept-objects then?
Hmm. That does address my point above, but somehow the word "kept" feels
awkward to me. I'm ambivalent between the two.
That word does make my backside somewhat itchy ;-)

Would it help to take a step back and think what the option really
does?  Perhaps we should call it --pack-all-objects, which is short
for --pack-all-objectsregardless-of-where-they-currently-are-stored,
or something?  The word "all" gives a wrong connotation in a
different way (e.g. "regardless of reachability" is a possible wrong
interpretation), so that does not sound too good, either.
I do not think "all" is what we want to say. It only affects "kept"
objects, not any of the other exclusions (e.g., "-l").
"--repack-kept-objects"?  "--include-kept-objects"?
Of all of them, I think --pack-kept-objects is probably the best. And I
think we are hitting diminishing returns in thinking too much more on
the name. :)

-Peff
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help