I noticed that with the sudo
integration, the author will be set to the
administrator. However, the commiter is still using the automatically-generated
email address for root user. The issue is that I still need to set the full name
for that “user”. How about also generating its full name? Or simply use the
administrator as both author and commiter?
When user.email is not set in the global git config, etckeeper sets
GIT_COMMITTER_EMAIL
toWhere $hostname is
hostname
withdnsdomainname
added as the domain if that outputs anything.It's possible etckeeper could be improved, but I don't have a sufficiently broken system to see it fail, so patches or further analysis would be up to you.