diff options
| author | Junio C Hamano <gitster@pobox.com> | 2018-08-01 11:07:35 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2018-08-01 11:07:35 -0700 |
| commit | 35e22d54ed3ee237a88c8e7ddeae7f1305011830 (patch) | |
| tree | 1421aee105aa674d606ffe58891e38b8a2b0f41d /fetch-pack.h | |
| parent | 42cc7485a2ec49ecc440c921d2eb0cae4da80549 (diff) | |
| parent | 3390e42adb3b84a9d61b3d46f4105f4cb6ba5edd (diff) | |
| download | git-35e22d54ed3ee237a88c8e7ddeae7f1305011830.tar.gz | |
Merge branch 'jt/fetch-nego-tip' into ab/fetch-nego
* jt/fetch-nego-tip:
fetch-pack: support negotiation tip whitelist
Diffstat (limited to 'fetch-pack.h')
| -rw-r--r-- | fetch-pack.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/fetch-pack.h b/fetch-pack.h index bb45a366a8..1859ee9275 100644 --- a/fetch-pack.h +++ b/fetch-pack.h @@ -16,6 +16,13 @@ struct fetch_pack_args { const struct string_list *deepen_not; struct list_objects_filter_options filter_options; const struct string_list *server_options; + + /* + * If not NULL, during packfile negotiation, fetch-pack will send "have" + * lines only with these tips and their ancestors. + */ + const struct oid_array *negotiation_tips; + unsigned deepen_relative:1; unsigned quiet:1; unsigned keep_pack:1; |
