aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2025-06-20 17:56:13 +0200
committerJunio C Hamano <gitster@pobox.com>2025-06-20 14:14:43 -0700
commit1d304ce1301f4bcc239683702e8d9e675f5f78f4 (patch)
tree9b2c38b83b913eaf571f39487b74b7f912048ba9
parentMerge branch 'ag/imap-send-resurrection' into jt/imap-send-message-fix (diff)
downloadgit-1d304ce1301f4bcc239683702e8d9e675f5f78f4.tar.gz
git-1d304ce1301f4bcc239683702e8d9e675f5f78f4.zip
imap-send: fix confusing 'store' terminology in error message
The error message 'no imap store specified' is misleading because it refers to 'store' when the actual missing configuration is 'imap.folder'. Update the message to use the correct terminology that matches the configuration variable name. This reduces confusion for users who might otherwise look for non-existent 'imap.store' configuration when they see this error. Signed-off-by: Jörg Thalheim <joerg@thalheim.io> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--imap-send.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/imap-send.c b/imap-send.c
index 603e3d6fbc..4b63d9ca41 100644
--- a/imap-send.c
+++ b/imap-send.c
@@ -1824,7 +1824,7 @@ int cmd_main(int argc, const char **argv)
}
if (!server.folder) {
- fprintf(stderr, "no IMAP store specified\n");
+ fprintf(stderr, "no IMAP folder specified\n");
ret = 1;
goto out;
}