diff options
| author | Junio C Hamano <gitster@pobox.com> | 2018-08-02 15:30:41 -0700 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2018-08-02 15:30:41 -0700 |
| commit | af8ac73801eebf0f3690c3875751eb9e108ceda8 (patch) | |
| tree | 249972b860396750d38bca79bb0e15c001bbcf8c /negotiator/default.h | |
| parent | 50858edd1aa063d3ee2ecb48672c43630cea9070 (diff) | |
| parent | ec06283844a90c3e9440286401e9ad7d86daa5ae (diff) | |
| download | git-af8ac73801eebf0f3690c3875751eb9e108ceda8.tar.gz | |
Merge branch 'jt/fetch-pack-negotiator'
Code restructuring and a small fix to transport protocol v2 during
fetching.
* jt/fetch-pack-negotiator:
fetch-pack: introduce negotiator API
fetch-pack: move common check and marking together
fetch-pack: make negotiation-related vars local
fetch-pack: use ref adv. to prune "have" sent
fetch-pack: directly end negotiation if ACK ready
fetch-pack: clear marks before re-marking
fetch-pack: split up everything_local()
Diffstat (limited to 'negotiator/default.h')
| -rw-r--r-- | negotiator/default.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/negotiator/default.h b/negotiator/default.h new file mode 100644 index 0000000000..d23a8f2fb8 --- /dev/null +++ b/negotiator/default.h @@ -0,0 +1,8 @@ +#ifndef NEGOTIATOR_DEFAULT_H +#define NEGOTIATOR_DEFAULT_H + +struct fetch_negotiator; + +void default_negotiator_init(struct fetch_negotiator *negotiator); + +#endif |
