Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
common-main: call git_extract_argv0_path()
[gitweb.git]
/
imap-send.c
diff --git
a/imap-send.c
b/imap-send.c
index 938c6915858b93b7c860e49e906c45e0e2ea5d03..125b2183a708a806e7f8aee049b187af3601e7cc 100644
(file)
--- a/
imap-send.c
+++ b/
imap-send.c
@@
-1494,14
+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);