Re: [PATCH v2 3/3] environment: move trust_executable_bit into repo_config_values
- From
Christian Couder <christian.couder@gmail.com>
- Date
- Jun 12, 2026, 07:48 UTC
- Message-ID
- <CAP8UFD0X48BJcjLrr8mY0x3A03NSEN35G7jrvdvvp7Qm5PYAdw@mail.gmail.com>
- In-Reply-To
- <20260610093635.139719-4-cat@malon.dev>
On Wed, Jun 10, 2026 at 11:37 AM Tian Yuchen <cat@malon.dev> wrote:
> +/* > + * Getters for the `repo_trust_executable_bit` fields of `struct repo_config_values`.
s/Getters/Getter/ s/fields/field/ s/repo_trust_executable_bit/trust_executable_bit/
> + * They check `repo->gitdir` to prevent calling repo_config_values() > + * before the configuration is loaded or in bare environments. > + */ > +int repo_trust_executable_bit(struct repository *repo);
Thanks.