diff options
author | Mike Hommey <mh@glandium.org> | 2015-02-13 14:24:46 +0900 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-02-13 11:32:28 -0800 |
commit | aab1beb0e1a66d31b0a9896e8c13009dece0aa45 (patch) | |
tree | a5ce27f54dab96203fa5039fe1e05aa308a8eb42 /transport.c | |
parent | 2879bc3b0c3acc89f0415ac0d0e3946599d9fc88 (diff) | |
download | git-mh/transport-capabilities.tar.gz |
transport-helper: ask the helper to set the same options for import as for fetchmh/transport-capabilities
A remote helper is currently only told about the 'check-connectivity',
'cloning', and 'update-shallow' options when it supports the 'fetch'
command, but not when it supports 'import' instead.
This is especially important for the 'cloning' option, because it
means a remote helper that only supports 'import' can't distinguish
between a clone and a pull besides doing some assumptions from the
git directory state.
Signed-off-by: Mike Hommey <mh@glandium.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'transport.c')
0 files changed, 0 insertions, 0 deletions