diff options
author | Jeff King <peff@peff.net> | 2008-05-27 10:28:43 -0400 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2008-05-27 21:30:16 -0700 |
commit | 37b78c25476d752953dc541e46fbb6bd5017edf7 (patch) | |
tree | 2db26fcaed2a66faba00a8b4d582da5f0e3167f0 /Documentation | |
parent | t5700-clone-reference: Quote $U (diff) | |
download | tgif-37b78c25476d752953dc541e46fbb6bd5017edf7.tar.xz |
clone: make sure we support the transport type
If we use an unsupported transport (e.g., http when curl
support is not compiled in), transport_get reports an error
to the user, but we still get a transport object. We need to
manually check and abort the clone process at that point, or
we end up with a segfault.
Noticed by Thomas Rast.
Signed-off-by: Jeff King <peff@peff.net>
Acked-by: Daniel Barkalow <barkalow@iabervon.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions