]> git.ipfire.org Git - thirdparty/git.git/commitdiff
imap-send: fix confusing 'store' terminology in error message
authorJörg Thalheim <joerg@thalheim.io>
Fri, 20 Jun 2025 15:56:13 +0000 (17:56 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 20 Jun 2025 21:14:43 +0000 (14:14 -0700)
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>
imap-send.c

index 603e3d6fbc429d0753d11624d1565693e8b9417f..4b63d9ca41782149d5aa283dfde8f7bd36836f63 100644 (file)
@@ -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;
        }