summaryrefslogtreecommitdiff
path: root/dots/git
diff options
context:
space:
mode:
authorHunt <lizhunt@amazon.com>2025-06-03 11:58:25 -0700
committerHunt <lizhunt@amazon.com>2025-06-03 11:58:25 -0700
commitee9ad10b5cc9850c3e2ed1946f70e0cef429fb48 (patch)
treeb6b0411b02127951cc28292425a35a1830c2758d /dots/git
parent64d060d2730cd212b2932879036eb33f7336ef38 (diff)
downloaddotfiles-ee9ad10b5cc9850c3e2ed1946f70e0cef429fb48.tar.gz
dotfiles-ee9ad10b5cc9850c3e2ed1946f70e0cef429fb48.zip
Refactor
Diffstat (limited to 'dots/git')
-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]