git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [RFC PATCH resend] builtin/repack: Honor --keep-pack and .keep when repacking promisor objects

From
brian m. carlson <sandals@crustytoothpaste.net>
Date
Jan 30, 2025, 02:26 UTC
Message-ID
<Z5rjSzjOXrV77_nJ@tapette.crustytoothpaste.net>
In-Reply-To
<2728513.vuYhMxLoTh@mintaka.ncbr.muni.cz>
On 2025-01-29 at 10:02:06, Tomáš Trnka wrote:
Show 13 quoted lines
> diff --git a/builtin/repack.c b/builtin/repack.c
> index d6bb37e84a..fe62fe03eb 100644
> --- a/builtin/repack.c
> +++ b/builtin/repack.c
> @@ -388,15 +388,23 @@ static int has_pack_ext(const struct generated_pack_data 
> *data,
>  }
>  
>  static void repack_promisor_objects(const struct pack_objects_args *args,
> -				    struct string_list *names)
> +				    struct string_list *names,
> +				    struct string_list 
> *keep_pack_list)

I don't have a strong opinion about the technical aspects of this patch (nor sufficient knowledge to review it)[0], but I noticed that there's a couple of places, this line among them, which are unexpectedly wrapped, so I don't believe this patch will actually apply. I noticed that the email didn't specify an MUA header (or I missed it), so I can't make a suggestion on how to fix your MUA, but you may want to use `git send-email` to avoid this problem in the future.

[0] In other words, no need to CC me on a resend.
-- 
brian m. carlson (they/them or he/him)
Toronto, Ontario, CA
Previous: Tomáš TrnkaNext: Tomáš Trnka
Message 2 of 6 in “builtin/repack: Honor --keep-pack and .keep when repacking promisor objects”
  1. builtin/repack: Honor --keep-pack and .keep when repacking promisor objectsTomáš Trnka, Jan 29, 2025
  2. brian m. carlsonJan 30, 2025
  3. Tomáš TrnkaJan 30, 2025
  4. Han YoungFeb 10, 2025
  5. Tomáš TrnkaFeb 10, 2025
  6. Han YoungFeb 19, 2025

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.