From e0fdea644e884827f04b287ddc9438a78d7d137b Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Sat, 2 May 2020 21:30:31 -0400 Subject: Pass explicit host to git-credential --- git-fetch-email.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git-fetch-email.sh b/git-fetch-email.sh index 83243c7..168dd7a 100644 --- a/git-fetch-email.sh +++ b/git-fetch-email.sh @@ -73,7 +73,7 @@ fi description() { cat <<-EOF protocol=imaps - host=${user#*@} + host=${host:-${user#*@}} username=${user%@*} ${pass:+password=${pass}} EOF -- cgit 1.4.1