Skip to content

Commit

Permalink
builtin-archive.c: rename remote_request() to extract_remote_arg()
Browse files Browse the repository at this point in the history
Suggested by Franck, and I think it makes sense.

Signed-off-by: Junio C Hamano <junkio@cox.net>
  • Loading branch information
Junio C Hamano committed Sep 13, 2006
1 parent d3788e1 commit d751864
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions builtin-archive.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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);

Expand Down

0 comments on commit d751864

Please sign in to comment.