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

Re: [PATCH] pack-write.c: remove unused `mtimes_name` parameter

From
Taylor Blau <me@ttaylorr.com>
Date
Jun 15, 2022, 22:55 UTC
Message-ID
<YqpjUiT45Oy8a577@nand.local>
In-Reply-To
<a7c81b77-651d-3374-6db8-f46ad01a8319@github.com>
On Wed, Jun 15, 2022 at 09:30:52AM -0400, Derrick Stolee wrote:
Show 11 quoted lines
> On 6/14/22 8:37 PM, Taylor Blau wrote:
> > `write_mtimes_file()` takes an optional parameter `mtimes_name`, which
> > specifies where to write the mtimes file. If it is NULL, a location is
> > generated with `odb_mkstemp()`.
> >
> > This imitates the pattern in `write_idx_file()`, and `write_rev_file()`,
> > both of which have callers from the `index-pack` builtin which specify
> > an exact location instead of generating one.
>
> I have a nearly-identical patch [1], but I'm happy to take Taylor's
> instead. I'll plan on dropping that patch from my v2.

;-). Great minds think alike? Either that, or one of us (me) stopped reading the rest of this series before sending their patch.

> [1] https://lore.kernel.org/git/b67e110bf60e820874de94c64ee8c32d69413877.1655242070.git.gitgitgadget@gmail.com/

Either version is fine with me. It's probably easier for the maintainer to just drop my patch and take this series in one go, so I'd err on the side of your version in [1].

Thanks, Taylor

Previous: Derrick Stolee
Message 3 of 3 in “pack-write.c: remove unused `mtimes_name` parameter”
  1. pack-write.c: remove unused `mtimes_name` parameterTaylor Blau, Jun 15, 2022
  2. Derrick StoleeJun 15, 2022
  3. Taylor BlauJun 15, 2022

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.