]> git.ipfire.org Git - thirdparty/git.git/commit
Propagate -u/--upload-pack option of "git clone" to transport.
authorSteve Haslam <shaslam@lastminute.com>
Fri, 25 Jul 2008 17:51:51 +0000 (18:51 +0100)
committerJunio C Hamano <gitster@pobox.com>
Sat, 2 Aug 2008 05:49:25 +0000 (22:49 -0700)
commit31f4e768a4b53419a1de9c4006c7b3747fc356eb
tree8ea7421bfe262496f76e1d019645e4a445f6e74c
parentbbff8aaaf2f2342b97882f93c9e30050918621c0
Propagate -u/--upload-pack option of "git clone" to transport.

The -u option to override the remote system's path to git-upload-pack was
being ignored by "git clone"; caused by a missing call to
transport_set_option to set TRANS_OPT_UPLOADPACK. Presumably this crept in
when git-clone was converted from shell to C.

Signed-off-by: Steve Haslam <shaslam@lastminute.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-clone.c
t/t5602-clone-remote-exec.sh [new file with mode: 0755]