Re: [PATCH 07/27] pack: move prepare_packed_git_run_once to object store
- From
- Jonathan Tan <jonathantanmy@google.com>
- Date
- Feb 22, 2018, 00:20 UTC
- Message-ID
- <20180221162019.bba08985870de3755a550b57@google.com>
- In-Reply-To
- <20180221015430.96054-8-sbeller@google.com>
On Tue, 20 Feb 2018 17:54:10 -0800 Stefan Beller <sbeller@google.com> wrote:
Show 5 quoted lines
> Each repository's object store can be initialized independently, so > they must not share a run_once variable. > > Signed-off-by: Stefan Beller <sbeller@google.com> > Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Reviewed-by: Jonathan Tan <jonathantanmy@google.com>
> -#define RAW_OBJECT_STORE_INIT { NULL, NULL, __MRU_INIT, NULL, NULL }
> +#define RAW_OBJECT_STORE_INIT { NULL, NULL, __MRU_INIT, NULL, NULL, 0 }Optional: Trailing zeros are not needed in struct initializers.