Re: [PATCH] pack-write.c: remove unused `mtimes_name` parameter
- From
Derrick Stolee <derrickstolee@github.com>
- Date
- Jun 15, 2022, 13:30 UTC
- Message-ID
- <a7c81b77-651d-3374-6db8-f46ad01a8319@github.com>
- In-Reply-To
- <f5bf68702d55b601ebd13bc4a6f1a34dc35abae5.1655253465.git.me@ttaylorr.com>
On 6/14/22 8:37 PM, Taylor Blau wrote:
Show 7 quoted lines
> `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.
[1] https://lore.kernel.org/git/b67e110bf60e820874de94c64ee8c32d69413877.1655242070.git.gitgitgadget@gmail.com/
Thanks, -Stolee