diff options
author | Junio C Hamano <gitster@pobox.com> | 2018-08-02 15:30:46 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-08-02 15:30:46 -0700 |
commit | 7c85ee6c5818f4409a29e40cc406ef5db9560af8 (patch) | |
tree | 3ae0b2267d235f9bf4f81dd1a7d781e980a953ce /Documentation | |
parent | d6873a396e054d814744f8943fd1c343ecf4a9dc (diff) | |
parent | 42cc7485a2ec49ecc440c921d2eb0cae4da80549 (diff) | |
download | git-7c85ee6c5818f4409a29e40cc406ef5db9560af8.tar.gz |
Merge branch 'jt/fetch-negotiator-skipping'
Add a server-side knob to skip commits in exponential/fibbonacci
stride in an attempt to cover wider swath of history with a smaller
number of iterations, potentially accepting a larger packfile
transfer, instead of going back one commit a time during common
ancestor discovery during the "git fetch" transaction.
* jt/fetch-negotiator-skipping:
negotiator/skipping: skip commits during fetch
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/config.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Documentation/config.txt b/Documentation/config.txt index 44df580a81..63365dcf3d 100644 --- a/Documentation/config.txt +++ b/Documentation/config.txt @@ -1531,6 +1531,15 @@ fetch.output:: `full` and `compact`. Default value is `full`. See section OUTPUT in linkgit:git-fetch[1] for detail. +fetch.negotiationAlgorithm:: + Control how information about the commits in the local repository is + sent when negotiating the contents of the packfile to be sent by the + server. Set to "skipping" to use an algorithm that skips commits in an + effort to converge faster, but may result in a larger-than-necessary + packfile; any other value instructs Git to use the default algorithm + that never skips commits (unless the server has acknowledged it or one + of its descendants). + format.attach:: Enable multipart/mixed attachments as the default for 'format-patch'. The value can also be a double quoted string |