summaryrefslogtreecommitdiff
path: root/send-pack.c
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2007-09-19 04:49:27 (GMT)
committerJunio C Hamano <gitster@pobox.com>2007-09-19 10:22:31 (GMT)
commit28b91f8ad9e4791b5c35ca6bffbb78725b4e5bbf (patch)
tree4c33b200fefb30c28f9db4f11c19efb02ce81cde /send-pack.c
parentbbaf4584286657582a92d5bb4038a5a06654ebb1 (diff)
downloadgit-28b91f8ad9e4791b5c35ca6bffbb78725b4e5bbf.zip
git-28b91f8ad9e4791b5c35ca6bffbb78725b4e5bbf.tar.gz
git-28b91f8ad9e4791b5c35ca6bffbb78725b4e5bbf.tar.bz2
Rename remote.uri to remote.url within remote handling internals
Anyplace we talk about the address of a remote repository we always refer to it as a URL, especially in the configuration file and .git/remotes where we call it "remote.$n.url" or start the first line with "URL:". Calling this value a uri within the internal C code just doesn't jive well with our commonly accepted terms. Signed-off-by: Shawn O. Pearce <spearce@spearce.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'send-pack.c')
-rw-r--r--send-pack.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/send-pack.c b/send-pack.c
index f74e66a..4533d1b 100644
--- a/send-pack.c
+++ b/send-pack.c
@@ -420,7 +420,7 @@ int main(int argc, char **argv)
if (remote_name) {
remote = remote_get(remote_name);
- if (!remote_has_uri(remote, dest)) {
+ if (!remote_has_url(remote, dest)) {
die("Destination %s is not a uri for %s",
dest, remote_name);
}