X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=builtin%2Farchive.c;h=931956def986bbdf5b77e163f1b18c961e7be09c;hb=1c5f93b9a69f4c1c3d09853243562b9ae3bf79a6;hp=e405566c5eabe03160e77dec4e7843f35f4e78fb;hpb=de263479506066f240cf629aa3aac50c94668d89;p=git.git diff --git a/builtin/archive.c b/builtin/archive.c index e405566c5..931956def 100644 --- a/builtin/archive.c +++ b/builtin/archive.c @@ -87,7 +87,6 @@ int cmd_archive(int argc, const char **argv, const char *prefix) const char *exec = "git-upload-archive"; const char *output = NULL; const char *remote = NULL; - int is_remote = 0; struct option local_opts[] = { OPT_STRING('o', "output", &output, "file", "write the archive to this file"), @@ -95,9 +94,6 @@ int cmd_archive(int argc, const char **argv, const char *prefix) "retrieve the archive from remote repository "), OPT_STRING(0, "exec", &exec, "cmd", "path to the remote git-upload-archive command"), - { OPTION_BOOLEAN, 0, "remote-request", &is_remote, NULL, - "indicate we are serving a remote request", - PARSE_OPT_NOARG | PARSE_OPT_HIDDEN }, OPT_END() }; @@ -112,5 +108,5 @@ int cmd_archive(int argc, const char **argv, const char *prefix) setvbuf(stderr, NULL, _IOLBF, BUFSIZ); - return write_archive(argc, argv, prefix, 1, output, is_remote); + return write_archive(argc, argv, prefix, 1, output, 0); }