Subject: Re: [PATCH v3] builtin/reflog: respect user config in "write" subcommand

From: Junio C Hamano <[email-masked]>
Date: Wed, 01 Oct 2025 09:50:48 -0700

Patrick Steinhardt <[email-masked]> writes:

> On Tue, Sep 30, 2025 at 09:53:20PM +0200, Michael Lohmann wrote:
>> The reflog write recognizes only GIT_COMMITTER_NAME and
>> GIT_COMMITTER_EMAIL environment variables, but forgot to honor the
>> user.name and user.email configuration variables, due to lack of
>> repo_config() call to grab these values from the configuration files.
>> 
>> The test suite sets these variables, so this behavior was unnoticed.
>> 
>> Ensure that the reflog write also uses the values of user.name and
>> user.email if set in the Git configuration.
>> 
>> Co-authored-by: Patrick Steinhardt <[email-masked]>
>> Signed-off-by: Michael Lohmann <[email-masked]>
>
> Thanks, this version looks good to me!

Yup.  Will apply on top of the ps/reflog-migrate-fixes topic.

I didn't realize "reflog write" was so new ;-)

Thanks.