summaryrefslogtreecommitdiff
path: root/dots/git/.gitconfig.j2
diff options
context:
space:
mode:
Diffstat (limited to 'dots/git/.gitconfig.j2')
-rw-r--r--dots/git/.gitconfig.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/dots/git/.gitconfig.j2 b/dots/git/.gitconfig.j2
index 015ad96..dc8d3e3 100644
--- a/dots/git/.gitconfig.j2
+++ b/dots/git/.gitconfig.j2
@@ -1,7 +1,7 @@
[user]
signingkey = {{ pgp.signing }}
user = {{ user.name }}
- email = {{ user.email }}
+ email = {{ user.work_email if features.work_mode else user.email }}
[commit]
gpgsign = true
[core]