summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d3788e1)
raw | patch | inline | side by side (parent: d3788e1)
author | Junio C Hamano <junkio@cox.net> | |
Wed, 13 Sep 2006 05:42:31 +0000 (22:42 -0700) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Wed, 13 Sep 2006 05:43:22 +0000 (22:43 -0700) |
Suggested by Franck, and I think it makes sense.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-archive.c | patch | blob | history |
diff --git a/builtin-archive.c b/builtin-archive.c
index cb883dfe5f7762028dd3a9ac17291d7ccfa6030c..da3f71470570a149c168da6532a8e3946e303c59 100644 (file)
--- a/builtin-archive.c
+++ b/builtin-archive.c
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;
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);