Taylor Blau <me@xxxxxxxxxxxx> writes: > In other words, I would be fine with something like: > > --- 8< --- > diff --git a/builtin/repack.c b/builtin/repack.c > index 0541c3ce15..1890f283ee 100644 > --- a/builtin/repack.c > +++ b/builtin/repack.c > @@ -866,6 +866,10 @@ int cmd_repack(int argc, const char **argv, const char *prefix) > (unpack_unreachable || (pack_everything & LOOSEN_UNREACHABLE))) > die(_("options '%s' and '%s' cannot be used together"), "--keep-unreachable", "-A"); > > + /* --expire-to implies cruft */ > + if (expire_to) > + pack_everything |= PACK_CRUFT; > + > if (pack_everything & PACK_CRUFT) { > pack_everything |= ALL_INTO_ONE; > > --- >8 --- > > But that sounds like a good candidate for some #leftoverbits. It does. Thanks.