Merge branch 'ls/packet-line-protocol-doc-fix' into maint
[gitweb.git] / imap-send.c
index 938c6915858b93b7c860e49e906c45e0e2ea5d03..9cbe27fcd44d81465ac20bf99cc6efadb36f4097 100644 (file)
@@ -1494,16 +1494,12 @@ static int curl_append_msgs_to_imap(struct imap_server_conf *server,
 }
 #endif
 
-int main(int argc, char **argv)
+int cmd_main(int argc, const char **argv)
 {
        struct strbuf all_msgs = STRBUF_INIT;
        int total;
        int nongit_ok;
 
-       git_extract_argv0_path(argv[0]);
-
-       git_setup_gettext();
-
        setup_git_directory_gently(&nongit_ok);
        git_imap_config();