Re: [PATCH v2 09/21] environment: move `odb_mkstemp()` into object layer
- From
karthik nayak <karthik.188@gmail.com>
- Date
- Sep 11, 2024, 21:26 UTC
- Message-ID
- <CAOLa=ZQLd4M_CmjnJBg2ht-U9sa21bq5=WgXn7RWe2cWpZx5zQ@mail.gmail.com>
- In-Reply-To
- <ac2cc4e03719ecf6d6a2eb4aacb8a162429addb0.1725008898.git.ps@pks.im>
Patrick Steinhardt <ps@pks.im> writes:
Show 5 quoted lines
> The `odb_mkstemp()` function is quite clearly tied to the object store, > but regardless of that it is located in "environment.c". Move it over, > which also helps to get rid of dependencies on `the_repository` in the > environment subsystem. >
The commit talks only about `odb_mkstemp()` but the code also moves `odb_pack_keep`. We should add that here.
[snip]