summaryrefslogtreecommitdiff
path: root/builtin-archive.c
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-09-12 22:42:31 -0700
committerJunio C Hamano <junkio@cox.net>2006-09-12 22:43:22 -0700
commitd751864cf7f5253da1ce749cf71215466590037f (patch)
tree14b18f35174a0348e939adccbdb31cdee886c10e /builtin-archive.c
parentd3788e19e20cd14aeac99d1f294d9a368437284f (diff)
downloadgit-d751864cf7f5253da1ce749cf71215466590037f.tar.gz
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>
Diffstat (limited to 'builtin-archive.c')
-rw-r--r--builtin-archive.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/builtin-archive.c b/builtin-archive.c
index cb883dfe5f..da3f714705 100644
--- a/builtin-archive.c
+++ b/builtin-archive.c
@@ -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)
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);