diff options
| author | Michael Lohmann <git@lohmann.sh> | 2025-09-30 21:53:20 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2025-10-01 09:49:05 -0700 |
| commit | 4a72736d1993d5702d074ea1a92e584633b20f54 (patch) | |
| tree | 89561dc1f55e0bf03c0f9e3366155bfd2d37168d /git-gui/lib/sshkey.tcl | |
| parent | 465eff81de44763832e96fbe609ec269f1c23ade (diff) | |
builtin/reflog: respect user config in "write" subcommand
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 <ps@pks.im>
Signed-off-by: Michael Lohmann <git@lohmann.sh>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'git-gui/lib/sshkey.tcl')
0 files changed, 0 insertions, 0 deletions
