Skip to content

Commit 59773c7

Browse files
committed
Merge branch 'cf/maint-remote-uploadpack-useconfig-fix'
* cf/maint-remote-uploadpack-useconfig-fix: git-remote: fix missing .uploadpack usage for show command
2 parents e6c7c2c + 345a380 commit 59773c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builtin-remote.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -787,7 +787,7 @@ static int get_remote_ref_states(const char *name,
787787
read_branches();
788788

789789
if (query) {
790-
transport = transport_get(NULL, states->remote->url_nr > 0 ?
790+
transport = transport_get(states->remote, states->remote->url_nr > 0 ?
791791
states->remote->url[0] : NULL);
792792
remote_refs = transport_get_remote_refs(transport);
793793
transport_disconnect(transport);

0 commit comments

Comments
 (0)