Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Schneider <larsxschneider@gmail.com>2017-06-30 23:41:27 +0300
committerJunio C Hamano <gitster@pobox.com>2017-06-30 23:50:21 +0300
commit1514c8edd62d96006cd1de31e906ed5798dd4681 (patch)
tree4d3065ce9d8f03106123b73ec3b096a4b86fe3aa /convert.h
parent9364fc298a32b19fbfe545974cbf9e46d5c7e67f (diff)
convert: refactor capabilities negotiation
The code to negotiate long running filter capabilities was very repetitive for new capabilities. Replace the repetitive conditional statements with a table-driven approach. This is useful for the subsequent patch 'convert: add "status=delayed" to filter process protocol'. Suggested-by: Junio C Hamano <gitster@pobox.com> Signed-off-by: Lars Schneider <larsxschneider@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'convert.h')
0 files changed, 0 insertions, 0 deletions