Browse Source

builtin-archive.c: rename remote_request() to extract_remote_arg()

Suggested by Franck, and I think it makes sense.

Signed-off-by: Junio C Hamano <junkio@cox.net>
maint
Junio C Hamano 19 years ago
parent
commit
d751864cf7
  1. 4
      builtin-archive.c

4
builtin-archive.c

@ -217,7 +217,7 @@ int parse_archive_args(int argc, const char **argv, struct archiver *ar) @@ -217,7 +217,7 @@ int parse_archive_args(int argc, const char **argv, struct archiver *ar)
return i;
}

static const char *remote_request(int *ac, const char **av)
static const char *extract_remote_arg(int *ac, const char **av)
{
int ix, iy, cnt = *ac;
int no_more_options = 0;
@ -254,7 +254,7 @@ int cmd_archive(int argc, const char **argv, const char *prefix) @@ -254,7 +254,7 @@ int cmd_archive(int argc, const char **argv, const char *prefix)
int tree_idx;
const char *remote = NULL;

remote = remote_request(&argc, argv);
remote = extract_remote_arg(&argc, argv);
if (remote)
return run_remote_archiver(remote, argc, argv);


Loading…
Cancel
Save