Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Reset possible helper before reusing remote structure
[gitweb.git]
/
transport.c
diff --git
a/transport.c
b/transport.c
index 652bf0bd8394056d3de558d0eb1635e02fc9f329..b5332c018b2951f63b15f51a3e3fb00999532a96 100644
(file)
--- a/
transport.c
+++ b/
transport.c
@@
-875,6
+875,9
@@
struct transport *transport_get(struct remote *remote, const char *url)
url = remote->url[0];
ret->url = url;
+ /* In case previous URL had helper forced, reset it. */
+ remote->foreign_vcs = NULL;
+
/* maybe it is a foreign URL? */
if (url) {
const char *p = url;