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>
Jörg Thalheim committed
Jun 20, 2025 at 17:56 UTC
1d304ce1301f4bcc239683702e8d9e675f5f78f4
1 file changed
+1
-1
imap-send.c
+1
-1
@@ -1824,7 +1824,7 @@ int cmd_main(int argc, const char **argv)
1824
}
1825
1826
if (!server.folder) {
1827
- fprintf(stderr, "no IMAP store specified\n");
1827
+ fprintf(stderr, "no IMAP folder specified\n");
1828
ret = 1;
1829
goto out;
1830
}