Thread (8 messages) 8 messages, 4 authors, 2023-10-05

Re: [PATCH v2] builtin/repack.c: avoid making cruft packs preferred

From: Eric Sunshine <hidden>
Date: 2023-10-05 20:28:03

On Thu, Oct 5, 2023 at 10:46 AM Patrick Steinhardt [off-list ref] wrote:
On Tue, Oct 03, 2023 at 05:54:19PM -0400, Taylor Blau wrote:
quoted
+             /* The largest pack was repacked, meaning that either
+              * one or two packs exist depending on whether the
+              * repository has a cruft pack or not.
Nit: this comment will grow stale soonish once your patch series lands
that introduces a maximum packfile size for cruft packs as there can be
arbitrarily many cruft packs from thereon.

The rest of this patch series looks good to me and makes sense. I don't
really think that this comment here is worth a reroll.
If you do happen to reroll for some reason, though, perhaps take care
of the minor style violation, as well. Use:

    /*
     * Multi-line comment
     * style.
     */

rather than:

    /* Multi-line comment
     * style.
     */
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help