diff options
author | Junio C Hamano <gitster@pobox.com> | 2009-12-27 01:03:16 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-12-27 01:03:16 +0300 |
commit | e74f43f9b702ccb88ee83e28de13ccfaebc4abf2 (patch) | |
tree | ae30da1b3a75cb017064b497cf5a59d5c30e9b6b /builtin-ls-remote.c | |
parent | 902f235378cb2b2f6dd5dd664b9630c95321f0ae (diff) | |
parent | ac10a85785baee56bb4a04ad5f847d15ffba0893 (diff) |
Merge branch 'sr/vcs-helper'
* sr/vcs-helper:
tests: handle NO_PYTHON setting
builtin-push: don't access freed transport->url
Add Python support library for remote helpers
Basic build infrastructure for Python scripts
Allow helpers to report in "list" command that the ref is unchanged
Fix various memory leaks in transport-helper.c
Allow helper to map private ref names into normal names
Add support for "import" helper command
Allow specifying the remote helper in the url
Add a config option for remotes to specify a foreign vcs
Allow fetch to modify refs
Use a function to determine whether a remote is valid
Allow programs to not depend on remotes having urls
Fix memory leak in helper method for disconnect
Conflicts:
Documentation/git-remote-helpers.txt
Makefile
builtin-ls-remote.c
builtin-push.c
transport-helper.c
Diffstat (limited to 'builtin-ls-remote.c')
-rw-r--r-- | builtin-ls-remote.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/builtin-ls-remote.c b/builtin-ls-remote.c index b5bad0c184..70f5622d9d 100644 --- a/builtin-ls-remote.c +++ b/builtin-ls-remote.c @@ -89,7 +89,7 @@ int cmd_ls_remote(int argc, const char **argv, const char *prefix) remote = remote_get(dest); if (!remote->url_nr) die("remote %s has no configured URL", dest); - transport = transport_get(remote, remote->url[0]); + transport = transport_get(remote, NULL); if (uploadpack != NULL) transport_set_option(transport, TRANS_OPT_UPLOADPACK, uploadpack); |