Luca Capello wrote:
> I strongly believe this is related to the fix for #583899, but since I
> am not completely sure, I preferred to report a new bug instead of
> reopening the old one.

There are AFAICS really only 2 choices:

1. etckeeper can detect who su'd to root, and commit as them
2. etckeeper can allow git to use the default from $HOME/.gitconfig

I have chosen the former, and I feel that is the correct choice.
It may make sense to have a stable non-machine-specific email address
used when committing to normal git repositories[], but etckeeper's git
repository is not normal, it is highly machine specific and you *want*
to see what machine the commit happened on, and ideally what user su'd
to root.

AFAICS, the remaining bug is that git complains prompting you to set up
/root/.gitconfig needlessly when using etckeeper. Seems that can be
fixed by etckeeper also setting GIT_COMMITTER_EMAIL.

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature

Reply via email to