override rather than setting user.name and user.email
authorJoey Hess <joeyh@joeyh.name>
Tue, 4 Apr 2023 18:56:44 +0000 (14:56 -0400)
committerJoey Hess <joeyh@joeyh.name>
Tue, 4 Apr 2023 18:56:44 +0000 (14:56 -0400)
commit66eb63dd820ade940b26b8eb00759d1b0f9242a0
treefb149a5939619f1c0c20c102f0033757c44f9103
parent68a0491f8362d0ed03f2fc9c41bf007164ed1e68
override rather than setting user.name and user.email

Avoid setting user.name and user.email in the git config when git is unable
to detect them.

git-annex has good reason to want to ensure git commit succeeds when eg
committing to the git-annex branch. But it's not playing nice to set these
values where other commands can see them.

Sponsored-by: Brett Eisenberg on Patreon
Annex/Environment.hs
CHANGELOG