aboutsummaryrefslogtreecommitdiff
path: root/send-pack.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2007-10-24 21:59:50 -0700
committerJunio C Hamano <gitster@pobox.com>2007-10-24 21:59:50 -0700
commitd90a7fda355c251b8ffdd79617fb083c18245ec2 (patch)
treedff9bc9d8e22b14c73cac403e65997a746aa03b2 /send-pack.c
parent2db9b49c6c19d3edaa3c20147f7d9f29588433df (diff)
parentca5bb5d5390e4ec709ca3e11c451c58a836d4ee6 (diff)
downloadgit-d90a7fda355c251b8ffdd79617fb083c18245ec2.tar.gz
git-d90a7fda355c251b8ffdd79617fb083c18245ec2.tar.xz
Merge branch 'db/fetch-pack'
* db/fetch-pack: (60 commits) Define compat version of mkdtemp for systems lacking it Avoid scary errors about tagged trees/blobs during git-fetch fetch: if not fetching from default remote, ignore default merge Support 'push --dry-run' for http transport Support 'push --dry-run' for rsync transport Fix 'push --all branch...' error handling Fix compilation when NO_CURL is defined Added a test for fetching remote tags when there is not tags. Fix a crash in ls-remote when refspec expands into nothing Remove duplicate ref matches in fetch Restore default verbosity for http fetches. fetch/push: readd rsync support Introduce remove_dir_recursively() bundle transport: fix an alloc_ref() call Allow abbreviations in the first refspec to be merged Prevent send-pack from segfaulting when a branch doesn't match Cleanup unnecessary break in remote.c Cleanup style nit of 'x == NULL' in remote.c Fix memory leaks when disconnecting transport instances Ensure builtin-fetch honors {fetch,transfer}.unpackLimit ...
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 c1807f079..e9b9a39f4 100644
--- a/send-pack.c
+++ b/send-pack.c
@@ -428,7 +428,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);
}