diff --git a/http-push.c b/http-push.c
index f10803a389295d079a7b1dc10bf7d8a6ceac11de..0e040f8c9a5f3ba2fa0c3858580292dd84a834e9 100644 (file)
--- a/http-push.c
+++ b/http-push.c
git_extract_argv0_path(argv[0]);
- setup_git_directory();
-
repo = xcalloc(sizeof(*repo), 1);
argv++;
force_delete = 1;
continue;
}
+ if (!strcmp(arg, "-h"))
+ usage(http_push_usage);
}
if (!repo->url) {
char *path = strstr(arg, "//");
if (delete_branch && nr_refspec != 1)
die("You must specify only one branch name when deleting a remote branch");
+ setup_git_directory();
+
memset(remote_dir_exists, -1, 256);
/*