Code

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, 26 Jul 2008 00:10:14 +0000 (17:10 -0700)
commit837c8767130ec71089e654f92cf24e8277a3bda5
treea5a23daaadff6abc31004445e206655f0d1140c8
parent7198203ae37c11327c0d01f1e37f3e74381755a9
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]