about summary refs log tree commit diff
path: root/git-fetch-email.sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--git-fetch-email.sh2
1 files changed, 1 insertions, 1 deletions
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